From 717442741fd70418c97df7bc42bfc909a6df5a31 Mon Sep 17 00:00:00 2001 From: David Sevilla Martin Date: Sat, 21 Mar 2020 16:43:59 -0400 Subject: [PATCH] update changes file --- FRONTEND FRAMEWORK REWRITE CHANGES.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/FRONTEND FRAMEWORK REWRITE CHANGES.md b/FRONTEND FRAMEWORK REWRITE CHANGES.md index b3c468418..2f0444de5 100644 --- a/FRONTEND FRAMEWORK REWRITE CHANGES.md +++ b/FRONTEND FRAMEWORK REWRITE CHANGES.md @@ -7,10 +7,9 @@ * 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 - - `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