@composi/datastore:
Install
Data Management for Components
Managing data for components can be complicated. By default Composi/core functional components have no state. DataStore is a solution for providing reactive re-renders for functional components using a central dataStore.
No Install
If you've created a project using create-composi-app
, you do not have to install
@composi/datastore. It is already installed and ready to import. Read
the documentation for
create-composi-app to
learn how to get up and running fast.
To use DataStore, you'll need to import it into your project:
import { DataStore } from '@composi/datastore'
To learn how to use DataStore, read these links DataStore and setState.