1
0
mirror of https://github.com/flarum/core.git synced 2025-08-04 15:37:51 +02:00

Update changes

This commit is contained in:
David Sevilla Martin
2020-01-05 16:57:48 -05:00
parent 0de0c83353
commit 056e6c0fea

View File

@@ -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