pawajs 2.2.0 → 2.3.1

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.
@@ -57,7 +57,7 @@ function restorePawaStateFromContext(oldCtx, newCtx,stateContext,oldStateContext
57
57
  newVal.value = oldVal.value
58
58
  }
59
59
  }
60
- statecontext._hmrInitial = freshInitials
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
@@ -337,7 +338,7 @@ export const normal_component=(el,stateContext,setStateContext,mapsPlugin,former
337
338
  throw Error(error)
338
339
  })
339
340
 
340
-
341
+ snapShotInsert(component._insert)
341
342
  render(child, context)
342
343
  }
343
344
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pawajs",
3
- "version": "2.2.0",
3
+ "version": "2.3.1",
4
4
  "type":"module",
5
5
  "description": "pawajs library (reactive web runtime) for easily building web ui, enhancing html element, micro frontend, spa etc ",
6
6
  "main": "index.js",