Skip to main content

Module hook

Module hook 

Source
Expand description

Hooks to access render context.

Functions§

use_context
Hook to get a context from its type.
use_effect
Hook to cache a value and run an effect when it’s changed.
use_on_drop
Hook to store a function that’s triggered on removal of the current View.
use_provider
Hook to provide a context.
use_ref
Hook to store a stateless value.
use_state
Hook to create render state.