mirror of
https://github.com/flarum/framework.git
synced 2024-11-22 13:35:47 +08:00
update changes file
This commit is contained in:
parent
0dc846bc4a
commit
717442741f
|
@ -7,10 +7,9 @@
|
|||
* 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
|
||||
- `component.render` now doesn't use the current state instance
|
||||
- this is because of how Mithril v2 works
|
||||
- now calls mithril on the component class (not instance) and its props
|
||||
* Translator
|
||||
- Added `app.translator.transText`, automatically extracts text from `translator.trans` output
|
||||
* Utils
|
||||
|
|
Loading…
Reference in New Issue
Block a user