pawa-ssr 1.2.9 → 1.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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -903,7 +903,7 @@ const attributeHandler =async (el, attr) => {
903
903
  */
904
904
  export const render =async (el, contexts = {},stream) => {
905
905
 
906
- if (!el.parentNode && checkIfRemove(el)) {
906
+ if (checkIfRemove(el) && !el.hasAttribute('switch')) {
907
907
  return
908
908
  }
909
909
  const isStream=store.getStore().stream
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pawa-ssr",
3
- "version": "1.2.9",
3
+ "version": "1.3.0",
4
4
  "type":"module",
5
5
  "description": "pawajs ssr libary",
6
6
  "main": "index.js",