framework/FRONTEND FRAMEWORK REWRITE CHANGES.md
David Sevilla Martin 056e6c0fea
Update changes
2020-04-18 09:05:32 -04:00

935 B

Changes

  • Mithril
  • Component
    • Use new Mithril lifecycle hooks (component.config is gone)
      • When implementing your own, you must call super.<hook>(vnode) to update this.attrs
    • component.render is gone
  • Application
    • New different methods
    • app.bus for some event hooking
  • Translator
    • Added app.translator.transText, automatically extracts text from translator.trans output
  • Utils
    • Changed computed util to require multiple keys to be passed as an array
    • SubtreeRetainer now has an update method instead of retain, and its output is used in onbeforeupdate lifecycle hook

Forum

  • Forum Application
    • Renamed to Forum
    • app.search is no longer global, extend using extend