ezfw-core 1.0.78 → 1.0.79

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.
@@ -665,6 +665,8 @@ async function renderPageDev(page, server, opts, renderer, islands, root) {
665
665
  islands: [],
666
666
  props: {}
667
667
  };
668
+ // Reset island counter before each render to ensure consistent IDs
669
+ renderer.resetIslandCounter();
668
670
  // Render body
669
671
  const body = await renderer.renderPage(page.name, definition, ctx);
670
672
  // Generate hydration script (pass CSS modules collected during render)
@@ -754,6 +756,8 @@ async function renderPageBuild(page, opts, renderer, analyzer, root, islands) {
754
756
  islands: [],
755
757
  props: {}
756
758
  };
759
+ // Reset island counter before each render to ensure consistent IDs
760
+ renderer.resetIslandCounter();
757
761
  // Render body
758
762
  const body = await renderer.renderPage(page.name, definition, ctx);
759
763
  // Generate hydration script (pass CSS modules collected during render)
@@ -857,6 +857,9 @@ async function renderPageDev(
857
857
  props: {}
858
858
  };
859
859
 
860
+ // Reset island counter before each render to ensure consistent IDs
861
+ renderer.resetIslandCounter();
862
+
860
863
  // Render body
861
864
  const body = await renderer.renderPage(page.name, definition, ctx);
862
865
 
@@ -965,6 +968,9 @@ async function renderPageBuild(
965
968
  props: {}
966
969
  };
967
970
 
971
+ // Reset island counter before each render to ensure consistent IDs
972
+ renderer.resetIslandCounter();
973
+
968
974
  // Render body
969
975
  const body = await renderer.renderPage(page.name, definition, ctx);
970
976
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ezfw-core",
3
- "version": "1.0.78",
3
+ "version": "1.0.79",
4
4
  "description": "Ez Framework - A declarative component framework for building modern web applications",
5
5
  "type": "module",
6
6
  "main": "./core/ez.ts",