Reverse hook order for all but onbeforeupdate (#2297)
- Drive-by: `onbeforeupdate` prevents subtree redraw if *either* hook returns `false`, not *both*.
This commit is contained in:
parent
c33621cd52
commit
a8473e63c9
4 changed files with 45 additions and 33 deletions
|
|
@ -32,6 +32,7 @@
|
|||
- render: Align custom elements to work like normal elements, minus all the HTML-specific magic. ([#2221](https://github.com/MithrilJS/mithril.js/pull/2221))
|
||||
- render: simplify component removal ([#2214](https://github.com/MithrilJS/mithril.js/pull/2214))
|
||||
- cast className using toString ([#2309](https://github.com/MithrilJS/mithril.js/pull/2309))
|
||||
- render: call attrs' hooks first, with express exception of `onbeforeupdate` to allow attrs to block components from even diffing ([#2297](https://github.com/MithrilJS/mithril.js/pull/2297))
|
||||
|
||||
#### News
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue