Naivete Precedes Misrepresentation

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

    Keywords

    none

    Install

    npm i @cerebral/baobab

    DownloadsWeekly Downloads

    203

    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