@elurjs/kit 2.4.7 → 2.4.9
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.
- package/CHANGELOG.md +22 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,28 @@ All notable changes to Elur Kit are documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [2.4.9]
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **Revert dynamic hydrator import** — 2.4.8 split the hydrator into a
|
|
13
|
+
separate chunk via dynamic `import()`, but the `elur:rendered` event
|
|
14
|
+
listener was registered inside the async function, so SPA navigations
|
|
15
|
+
fired before the listener was attached. Islands never re-hydrated
|
|
16
|
+
after navigation, causing broken pages and double-click issues.
|
|
17
|
+
Restored the static import; `requestIdleCallback` deferral is kept.
|
|
18
|
+
|
|
19
|
+
## [2.4.8]
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- **Hydrator split into a separate chunk** — the auto-generated
|
|
24
|
+
`entry-client.ts` now dynamically imports `hydrateIslands` instead of
|
|
25
|
+
statically importing it. Vite emits the hydrator as its own chunk, so
|
|
26
|
+
the initial `entry-client.js` bundle contains only the SPA router
|
|
27
|
+
(~18 KB → ~9 KB gzipped). The hydrator loads on idle via
|
|
28
|
+
`requestIdleCallback`, after the first paint.
|
|
29
|
+
|
|
8
30
|
## [2.4.7]
|
|
9
31
|
|
|
10
32
|
### Changed
|