TinyBase logoTinyBase β

State primitives

useTablesState

The useTablesState primitive returns a Tables object and a function to set it, following the same pattern as Solid's createSignal convention. Read more.

useTableState

The useTableState primitive returns a Table and a function to set it, following the same pattern as Solid's createSignal convention. Read more.

useRowState

The useRowState primitive returns a Row and a function to set it, following the same pattern as Solid's createSignal convention. Read more.

useCellState

The useCellState primitive returns a Cell from a Store and a callback to set it, following the common Solid useState convention. Read more.

useParamValuesState

The useParamValuesState primitive returns an array containing all the parameter values for a query, and a callback for changing them, providing an easy way to bind a query's parameters to a user-controlled component. Read more.

useValuesState

The useValuesState primitive returns a Values object and a function to set it, following the same pattern as Solid's createSignal convention. Read more.

useParamValueState

The useParamValueState primitive returns a parameter value and a function to set it, following the same pattern as Solid's createSignal convention. Read more.

useValueState

The useValueState primitive returns a Value from a Store and a callback to set it, following the common Solid useState convention. Read more.