Crate react_sys

Source

Modules§

react_dom

Structs§

Element
MutableRefObject
MutableRefObjectBool
MutableRefObject< bool
MutableRefObjectHtmlElement
MutableRefObject< web_sys::HtmlElement
MutableRefObjectOptionalHtmlElement
MutableRefObject< Option<web_sys::HtmlElement>
MutableRefObjectOptionalUsize
MutableRefObject< Option
MutableRefObjectUsize
MutableRefObject< usize
UseStateBoolObject
UseStateBoolObjectSetter
UseStateI32Object
UseStateI32ObjectSetter
UseStateUsizeObject
UseStateUsizeObjectSetter

Statics§

FragmentDeprecated
StrictModeDeprecated

Functions§

create_element
create_element_fn
Safety
create_element_fn_mut
Safety
create_element_intrinsic
create_element_intrinsic_no_children
create_element_intrinsic_no_props
create_element_no_children
create_element_no_props
create_fragment
create_fragment_no_children
create_fragment_no_props
use_effect
React.useEffect(effect, dependencies)
use_effect_on_each_render
React.useEffect(effect)
use_ref
use_ref_bool
use_ref_bool_with
Closure get_initial_value will be called immediately, thus it is safe to use reference here.
use_ref_html_element
use_ref_html_element_with
Closure get_initial_value will be called immediately, thus it is safe to use reference here.
use_ref_optional_html_element
use_ref_optional_html_element_with
Closure get_initial_value will be called immediately, thus it is safe to use reference here.
use_ref_optional_usize
use_ref_optional_usize_with
Closure get_initial_value will be called immediately, thus it is safe to use reference here.
use_ref_usize
use_ref_usize_with
Closure get_initial_value will be called immediately, thus it is safe to use reference here.
use_ref_with
Closure get_initial_value will be called immediately, thus it is safe to use reference here.
use_state
use_state_bool
React.useState<T>(initial_value)
use_state_bool_auto_clean
use_state_bool_auto_clean_with
use_state_bool_with
React.useState<bool>(initial_value) React.useState<T>(get_initial_value)
use_state_i32
React.useState<T>(initial_value)
use_state_i32_auto_clean
use_state_i32_auto_clean_with
use_state_i32_with
React.useState<i32>(initial_value) React.useState<T>(get_initial_value)
use_state_usize
React.useState<T>(initial_value)
use_state_usize_auto_clean
use_state_usize_auto_clean_with
use_state_usize_with
React.useState<usize>(initial_value) React.useState<T>(get_initial_value)
use_state_with