TinyBase logoTinyBase β

ui-solid

The ui-solid module of the TinyBase project provides primitives and components to make it easy to create reactive apps with Store objects in Solid.

The primitives in this module provide access to the data and structures exposed by other modules in the project. As well as immediate access, most return Solid Accessor functions and register listeners so components using those primitives update selectively when data changes.

The components in this module provide a further abstraction over those primitives to ease the composition of user interfaces that use TinyBase.

Unlike React hooks, the primitive signatures do not include dependency-list parameters. Solid tracks reactive reads automatically, and the primitives update when their Store data or accessor arguments change. Prefer passing reactive values as accessor functions, such as () => props.tableId.

See also

Since

v8.3.0

Functions

Type Aliases