gonia 0.2.4 → 0.2.5

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.
@@ -11,6 +11,7 @@ import { registerProvider, resolveFromProviders, resolveFromDIProviders } from '
11
11
  import { createElementScope, getElementScope } from '../scope.js';
12
12
  import { FOR_PROCESSED_ATTR, FOR_TEMPLATE_ATTR } from '../directives/for.js';
13
13
  import { IF_PROCESSED_ATTR } from '../directives/if.js';
14
+ import { PROCESSED_ATTR } from '../process.js';
14
15
  import { resolveDependencies as resolveInjectables } from '../inject.js';
15
16
  import { resolveContext } from '../context-registry.js';
16
17
  /**
@@ -257,7 +258,7 @@ export async function render(html, state, registry) {
257
258
  }
258
259
  // Skip elements already processed by structural directives (g-for, g-if)
259
260
  // These elements have their own scoped processing
260
- if (el.hasAttribute(FOR_PROCESSED_ATTR) || el.hasAttribute(IF_PROCESSED_ATTR)) {
261
+ if (el.hasAttribute(FOR_PROCESSED_ATTR) || el.hasAttribute(IF_PROCESSED_ATTR) || el.hasAttribute(PROCESSED_ATTR)) {
261
262
  processed.add(el);
262
263
  continue;
263
264
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gonia",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "A lightweight, SSR-first reactive UI library with declarative directives",
5
5
  "type": "module",
6
6
  "license": "MIT",