From 056e6c0feaf150ed10b17c84277775d792e23ec1 Mon Sep 17 00:00:00 2001 From: David Sevilla Martin Date: Sun, 5 Jan 2020 16:57:48 -0500 Subject: [PATCH] Update changes --- FRONTEND FRAMEWORK REWRITE CHANGES.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FRONTEND FRAMEWORK REWRITE CHANGES.md b/FRONTEND FRAMEWORK REWRITE CHANGES.md index ece91e7d0..14dddf40b 100644 --- a/FRONTEND FRAMEWORK REWRITE CHANGES.md +++ b/FRONTEND FRAMEWORK REWRITE CHANGES.md @@ -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.(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