A React Hook that helps to use Reactive in React with ease.
You need to install @shined/reactive
to use this utility.
See API for more details.
Click links below to view source on GitHub.
An object
to initialize the state.
Options for Reactive, see Reactive Create Options.
state
is the current state, mutate
is an object whose changes will trigger a re-render.