@cerebral/baobab
Install
npm install @cerebral/baobab
Description
Use the Baobab project as a Model instead of default model. This gives you for example immutability. You use the state API as normal.
Instantiate
import BaobabModel from '@cerebral/baobab'
import { Controller } from 'cerebral'
const controller = Controller({
Model: new BaobabModel({
/* Baobab options */
})
})