Re-exports
pub use react_sys as sys;
Modules
Macros
A shorthand to create tuple of react children.
use_effect
with dependencies.
Structs
A number
, string
, boolean
or Array<ReactNode>
that are not elements
but valid ReactNode
Why not react_sys::Element
A NewType style struct which marks the inner element is created with
Enums
Traits
Corresponding to ReactNode
in typescript
Functions
React.useEffect
with exactly one dependency.
To use multiple dependencies, see use_effect
.
value
will be the initial value.
And in each render, if value
changes,
the MutableRefRc
will be set as it.