pawajs 2.3.2 → 2.3.3
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 +1 -2
- package/package.json +1 -1
package/normal/component.js
CHANGED
|
@@ -81,7 +81,6 @@ function restorePawaStateFromContext(oldCtx, newCtx,stateContext,oldStateContext
|
|
|
81
81
|
newVal.value = oldVal.value
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
stateContext._hmrinitial = freshInitials
|
|
85
84
|
}
|
|
86
85
|
export const normal_component=(el,stateContext,setStateContext,mapsPlugin,formerStateContext,pawaContext,stateWatch,hmrPreserverContext,hmrOldStateContext)=>{
|
|
87
86
|
// Checks if the content is an SVG fragment (graphic elements) without a root <svg> tag.
|
|
@@ -361,7 +360,7 @@ export const normal_component=(el,stateContext,setStateContext,mapsPlugin,former
|
|
|
361
360
|
stateContexts?._error?.forEach((error) => {
|
|
362
361
|
throw Error(error)
|
|
363
362
|
})
|
|
364
|
-
if (
|
|
363
|
+
if (__pawaDev.tool) {
|
|
365
364
|
stateContexts._hmrinitial= snapshotInsert(component._insert)
|
|
366
365
|
}
|
|
367
366
|
render(child, context)
|
package/package.json
CHANGED