Back to Daily Feed 
SolidJS 2.0.0-rc.15 Core Updates: Hydration, HMR, & Error Handling
Worth Reading
Originally published on SolidJS Releases
View Original Article
Share this article:
Summary & Key Takeaways
dynamicComponentis moved intosolid-js, with@solidjs/webre-exporting it.- Fixes for unhandled rejections in
Erroredboundaries during SSR. - Hydration IDs for SSR
Erroredfallbacks are now preserved on retry. - Mounted context IDs are preserved during hot module evaluation.
lazy()andlazyModule()no longer cache loader promises created during hydration traces.onHydrationEndis re-exposed as a public@experimentalAPI for end-to-end testing.
Our Commentary
This is the core solid-js package RC, and it's got some good stuff. Making onHydrationEnd public again, even as experimental, is a win for testing and debugging hydration issues. The HMR and error boundary fixes are also crucial for a smooth developer experience. It feels like they're really buttoning up the rough edges for 2.0.0, which is exactly what you want to see in an RC.
View Original Article
Share this article: