Docs.rs
  • react-rs-1.0.0-alpha.2
    • react-rs 1.0.0-alpha.2
    • Docs.rs crate page
    • MIT
    • Links
    • crates.io
    • Source
    • Owners
    • EqualMa
    • Dependencies
      • convert-js ^1.0.0-alpha.14 normal
      • forgotten ^1 normal
      • frender-macros ^1.0.0-alpha.2 normal
      • js-sys ^0.3 normal
      • once_cell ^1.8 normal
      • react-sys ^1.0.0-alpha.20 normal
      • wasm-bindgen ^0.2.63 normal
      • web-sys ^0.3 normal
      • wasm-bindgen-test ^0.3 dev
    • Versions
    • 3.45% of the crate is documented
  • Go to latest stable release
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Crate react

  • Version 1.0.0-alpha.2
  • All Items
  • Modules
  • Macros
  • Structs
  • Traits
  • Functions
  • Type Definitions
logo
Change settings

Crate react

source · [−]

Re-exports

pub use react_sys as sys;

Modules

html

Macros

__impl_pass_to_js_runtime_trait
impl_pass_to_js_runtime
use_memo

Structs

AnyNode
AnyNodeRef
Children
IntrinsicElement

Corresponding to ReactHTMLElement

JsAdapterComponent
JsAdapterComponentProps
JsProps
MutableRefJs
MutableRefRc
NoProps
NodeFromJs
PassToJsRuntimeValue
PropsBridge
StateSetter

Traits

AsKey
AsNullableElement
BorrowToJsRuntime
CleanFnOrNone
Component
IntoJsAdapterComponentProps
IntoJsRuntime
IntoOptionalRc
IntoRc
MutableRef
Node

Corresponding to ReactNode in typescript

Props
PropsBuilder
ReactEffectFn
ReadRef
SimpleTake
TakeRc
TryBorrowToJsRuntime
TryIntoJsRuntime
WriteRef

Functions

closure_to_bridge_rust_only_component
into_js_runtime_with_cloned
try_borrow_to_js_runtime_or_else
try_into_js_runtime_or_else
use_effect_on_mounted

React.useEffect(effect, [])

use_effect_one
use_memo_no_dep
use_memo_one
use_ref
use_ref_cell
use_ref_cell_value
use_ref_js
use_ref_js_value
use_ref_value
use_state
use_state_value

Type Definitions

ClosureBridgeRustOnlyComponent