Help

Use el to get to a dom element you can render to with your Omniscient components!

Playground examples

  1. Simple Todo List
  2. List with inline edit
  3. Search list
  4. Tests
  5. Single react component

Available globals/variables

Use el to get to an element you can render to with your Omniscient components!

  • React: React instance
  • omniscient/component: Omniscient instance
  • immstruct: Immstruct instance
  • Immutable: Immutable.js instance
  • Cursor: Cursor (Immutable.js contrib)
  • redux: redux instance
  • reduxThunk: reduxThunk instance
  • reactRedux: reactRedux instance

Testing

  • describe: new test suite (mocha)
  • it: new test (mocha)
  • xit: pending test (mocha)
  • xdescribe: pending scenario (mocha)
  • before/after: run code before or after all tests (mocha)
  • beforeEach/afterEach: run code before or after each tests (mocha)
  • chai: chai.js assertion library