mirror of
https://github.com/flarum/core.git
synced 2025-08-04 15:37:51 +02:00
Update changes
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
- Actual Promises are used now instead of `m.deferred`
|
||||
* 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
|
||||
@@ -14,6 +15,7 @@
|
||||
- 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
|
||||
|
Reference in New Issue
Block a user