Skip to content

Released v1.3.0

Latest
Compare
Choose a tag to compare
@sc0ttj sc0ttj released this 21 Feb 19:51
· 70 commits to master since this release
  • new optional add-ons:
    • html JSX-like HTML templating, returns templates as a String
    • htmel JSX-like HTML templating, returns templates as HTMLObject (browser) or String (Node)
    • storage - persistent state between page refreshes (browser) or script invocations (Node)
    • devtools - easier debugging of your components (browser only)
  • updates to src/component.js:
    • fixed: in NodeJS, debounced logging now falls back to using setTimeout, if needed
    • added: support for all new add-ons
    • added: allow view to be HTML Object, not only String
    • added: App.actionsList property - the list of defined actions functions
    • added: App() will return the container (an HTML Element)
      • App({...}) still returns App (for chainable actions, etc)
    • added: App.html property - alias of App.container (returns an HTML Element)
  • update docs:
    • re-write README and examples to show re-usable components
    • add the new add-ons to README and examples
  • updated build configs