@cfdez11/vex 0.8.2 → 0.8.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.
@@ -123,6 +123,7 @@ function handleConditionalChain(parent, children, startIndex, markers, values) {
123
123
  }
124
124
 
125
125
  if (element.hasAttribute('x-if')) {
126
+ if (chain.length > 0) break; // second x-if starts a new independent chain
126
127
  chain.push({
127
128
  element,
128
129
  type: 'if',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cfdez11/vex",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "description": "A vanilla JavaScript meta-framework with file-based routing, SSR/CSR/SSG/ISR and Vue-like reactivity",
5
5
  "type": "module",
6
6
  "main": "./server/index.js",