TinyBase logoTinyBase β

Schemas

These guides discuss how to set up a ValuesSchema or TablesSchema on a Store so that certain structures of data are assured.

See also the Countries demo, the Todo App demos, and the Drawing demo.

Using Schemas

Schemas are a simple declarative way to say what data you would like to store. Read more.

Schema-Based Typing

You can use type definitions that infer API types from the schemas you apply, providing a powerful way to improve your developer experience when you know the shape of the data being stored. Read more.

Mutating Data With Listeners

Although listeners are normally prevented from updating data, there are times when you may want to - such as when you are programmatically checking your data as it gets updated. Read more.