pawajs 2.2.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/normal/component.js +2 -1
- package/package.json +1 -1
package/normal/component.js
CHANGED
|
@@ -57,7 +57,7 @@ function restorePawaStateFromContext(oldCtx, newCtx,stateContext,oldStateContext
|
|
|
57
57
|
newVal.value = oldVal.value
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
|
|
60
|
+
stateContext._hmrInitial = freshInitials
|
|
61
61
|
}
|
|
62
62
|
export const normal_component=(el,stateContext,setStateContext,mapsPlugin,formerStateContext,pawaContext,stateWatch,hmrPreserverContext,hmrOldStateContext)=>{
|
|
63
63
|
// Checks if the content is an SVG fragment (graphic elements) without a root <svg> tag.
|
|
@@ -135,6 +135,7 @@ export const normal_component=(el,stateContext,setStateContext,mapsPlugin,former
|
|
|
135
135
|
stateContexts._template=el._template
|
|
136
136
|
stateContexts._recallEffect=()=>{}
|
|
137
137
|
stateContexts._hmrinitial={}
|
|
138
|
+
const componentName=el._componentName
|
|
138
139
|
const storeContext=stateContexts
|
|
139
140
|
let compo
|
|
140
141
|
let awaits=false
|
package/package.json
CHANGED