Re-exports§
pub use react_sys as sys;
Modules§
Macros§
- __
impl_ let_ dep_ list - __
impl_ let_ dep_ list_ memo - __
impl_ pass_ dep - auto_
wrap_ rc - children
- A shorthand to create tuple of react children.
- use_
effect use_effectwith dependencies.- use_
memo - use_ref
use_refmacro will auto wrap value intoRc<T>.- use_
state
Structs§
- AnyFn
- AnyFn
Mut - AnyFn
Once - AnyNode
Value - A
number,string,booleanorArray<ReactNode>that are not elements but validReactNode - Element
- Why not
react_sys::Element - Fragment
- Fragment
Element - JsBridge
Element - Key
- Keyed
- A NewType style struct which marks the inner element is created with
- Mutable
RefJs - Mutable
RefRc - NoProps
- Optional
Children Props - Passed
ToJs Runtime - Read
RefRc - State
Setter - Strict
Mode - Strict
Mode Element - UseRender
Element
Enums§
- AnyNode
- Children
- One or many
AnyNodes whose order will never change. WhenChildrenis used as - JsComponent
Type
Traits§
- AsKey
- Component
- Component
Static - DynFn
- DynFn
Mut - DynFn
Once - FnMut
OfArgs - FnOf
Args - FnOnce
OfArgs - Into
Boxed - Into
Element - Into
Optional Clean Fn - Into
Optional Element - Into
Optional Rc - Into
Prop Value - IntoRc
- Into
RefValue - Mutable
Ref - Node
- Corresponding to
ReactNodein typescript - Props
- Props
Builder - ReadRef
- Render
Into Dom - Safe
Into JsRuntime - TakeRc
- UseRender
- UseRender
Static - Write
Ref
Functions§
- render_
into_ dom_ by_ id - use_
effect_ on_ each_ render - use_
effect_ on_ mounted - use_
effect_ one React.useEffectwith exactly one dependency. To use multiple dependencies, see [use_effect].- use_
memo_ no_ dep - use_
memo_ one - use_ref
- use_
ref_ cell - use_
ref_ cell_ with - use_
ref_ js - use_
ref_ js_ set_ as - use_
ref_ js_ with - use_
ref_ readonly - use_
ref_ readonly_ with - use_
ref_ set_ as valuewill be the initial value. And in each render, ifvaluechanges, theMutableRefRcwill be set as it.- use_
ref_ with - use_
state - use_
state_ value