v0.0.6
Patch Changes
-
#11
e49d311Thanks @awilderink! - Fix async children and React children hydration inside islands. Server-rendered children passed into an island now resolve correctly when they are async (promises/JSX returning a promise) and survive hydration on React islands without being reconciled away. -
#11
e49d311Thanks @awilderink! - Preserve hydrated island state across server HMR. Editing a server file no longer resets the state of mounted islands: the morph now skips island subtrees (viabeforeNodeMorphed) and island ids stay stable across the HMR refetch thanks to a per-request id counter backed byAsyncLocalStorage.