reaction
reaction(
// Access and return some state to react to
(state) => state.foo,
// Do something with the returned value
(foo) => {},
{
// If you return an object or array from the state you can set this to true.
// The reaction will run when any nested changes occur as well
nested: false,
// Runs the reaction immediately
immediate: false
}
)onInitializeOvermind
components
Last updated