1
0
mirror of https://github.com/flarum/core.git synced 2025-08-07 00:47:00 +02:00

Update SubtreeRetainer docblock

This commit is contained in:
Alexander Skvortsov
2020-08-15 19:57:41 -04:00
committed by Franz Liedke
parent 7ba8a7122b
commit 43bfaa7400

View File

@@ -11,8 +11,8 @@
* );
* this.subtree.check(() => this.attrs.user.freshness);
*
* // view
* this.subtree.retain() || 'expensive expression'
* // onbeforeupdate
* return this.subtree.needsRebuild()
*
* @see https://mithril.js.org/lifecycle-methods.html#onbeforeupdate
*/