Schemas And Persistence
These guides discuss how to set up a
Schema on a
Store so that certain structures of data are assured - and how to load and save data to a
Store from a persistence layer.
See also the Countries demo, the Todo App demos, and the Drawing demo.
Schemas are a simple declarative way to say what data you would like to store in specific Cells in specific
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.
The persister module lets you save and load
Store data to and from different locations, or underlying storage types.
When you want to load and save
Store data in unusual or custom ways, you can used the
createCustomPersister function to do so in any way you wish.