useComputedState
Drives a single async computation that runs on demand. It returns a MutableComputedState whose value moves through notInitialized -> inProgress -> ready/failed, and nothing runs until you call refresh().
useAutoComputedState
A useComputedState that refreshes itself: it runs compute on the first build and again whenever keys change. It returns the same MutableComputedState, so the value, refresh(), updateValue, and clear() all behave identically - the difference is that the computation is triggered for you.
useSubmitState
Manages the lifecycle of a write or mutation: idle -> in progress -> success/error. It returns a MutableSubmitState that tracks how many runs are in flight (inProgress) and wraps the work with retry support.
useSubmitButtonState
Wraps useSubmitState into a ready-to-bind ButtonState for a single action. Its onTap runs the action and ignores taps while one is already in flight, so the double-tap guard is built in.
usePaginatedComputedState
Drives cursor-based pagination: it loads the first page automatically, appends pages on demand via loadMore(), and refreshes from the start when keys change. It returns a MutablePaginatedComputedState holding the accumulated items, the next cursor, and isLoading / hasMore / error flags.
useGenericFieldState
Holds a single form field's value together with its validation error message. It returns a MutableGenericFieldState - a mutable value you read and write through .value, plus an errorMessage and a validate() method.
useCombinedInitializationState
Reports whether a set of provided states are all initialized. It looks up each listed type in the hook provider context, reads its isInitialized, and returns a CombinedInitializationState that is initialized only when every one of them is.
usePersistedState
A mutable value backed by asynchronous storage. It reads the persisted value once on mount, exposes it as a writable .value, and persists every write in the background. It returns a PersistedState that reports both whether the initial read has finished (isInitialized) and whether the latest write has landed (isSynchronized).