@@ -60,7 +60,7 @@ export class VaporFragment<T extends Block = Block>
6060 ) => void
6161
6262 // hooks
63- updated ?: ( ( nodes ?: Block ) => void ) [ ]
63+ $ updated ?: ( ( nodes ?: Block ) => void ) [ ]
6464
6565 constructor ( nodes : T ) {
6666 this . nodes = nodes
@@ -95,7 +95,7 @@ export class DynamicFragment extends VaporFragment {
9595 nodes : Block ,
9696 scope : EffectScope ,
9797 ) => boolean ) [ ]
98- beforeMount ?: ( ( newKey : any , nodes : Block , scope : EffectScope ) => void ) [ ]
98+ $ beforeMount ?: ( ( newKey : any , nodes : Block , scope : EffectScope ) => void ) [ ]
9999
100100 constructor ( anchorLabel ?: string ) {
101101 super ( [ ] )
@@ -215,8 +215,8 @@ export class DynamicFragment extends VaporFragment {
215215 this . $transition = applyTransitionHooks ( this . nodes , transition )
216216 }
217217
218- if ( this . beforeMount ) {
219- this . beforeMount . forEach ( hook =>
218+ if ( this . $ beforeMount) {
219+ this . $ beforeMount. forEach ( hook =>
220220 hook ( this . current , this . nodes , this . scope ! ) ,
221221 )
222222 }
@@ -240,8 +240,8 @@ export class DynamicFragment extends VaporFragment {
240240 }
241241
242242 insert ( this . nodes , parent , this . anchor )
243- if ( this . updated ) {
244- this . updated . forEach ( hook => hook ( this . nodes ) )
243+ if ( this . $ updated) {
244+ this . $ updated. forEach ( hook => hook ( this . nodes ) )
245245 }
246246 }
247247 } else {
0 commit comments