Skip to content

Releases: bfitch/cerebral-falcor-module

Update README for v0.2.0

06 Jan 15:23

Choose a tag to compare

Namespace Falcor data in Cerebral

06 Jan 04:02

Choose a tag to compare

Changelog

  • Bug Fix: Falcor data is now namespaced in baobab, which prevents overwriting cerebral only state. Resolves: #3

  • Falcor's source endpoint defaults to `'/model.json' and is not a required option

    Migration

  • A namespace can be passed as an option to the falcor module. It defaults to 'falcor':

controller.register({
  falcor: FalcorModule({
    namespace: 'custom', // optional, defaults to 'falcor'
    model: model
  })
});
  • Define the namespace in baobab:
const model = Model({
  page:'about',
  custom: {} // defaults to 'falcor'
});
  • Update components to grab namespaced data:

v0.1.1

31 Dec 06:58

Choose a tag to compare

Set main file to dist/index.js

v0.1.0

31 Dec 05:46

Choose a tag to compare

Write readme