useReactor

See source code
function useReactor(
  name: string,
  reactFn: () => void,
  deps?: any[] | undefined
): void

Parameters

NameDescription

name

string

reactFn

() => void

deps

any[] | undefined

Returns

void
Prev
useQuickReactor
Next
useStateTracking