@cerebral/baobab

3.2.2 • Public • Published

@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 */
  })
})

Readme

Keywords

none

Package Sidebar

Install

npm i @cerebral/baobab

Weekly Downloads

4

Version

3.2.2

License

MIT

Unpacked Size

11.5 kB

Total Files

5

Last publish

Collaborators

  • fweinb
  • cerebral.js
  • christianalfoni
  • guria
  • gbucher
  • henri-hulski