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:
committed by
Franz Liedke
parent
7ba8a7122b
commit
43bfaa7400
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user