framework/FRONTEND FRAMEWORK REWRITE CHANGES.md
2020-04-18 09:07:17 -04:00

1.3 KiB

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

Forum

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