Skip to content

v0.0.6

Choose a tag to compare

@github-actions github-actions released this 08 Apr 20:26
· 2 commits to main since this release
739d860

Patch Changes

  • #11 e49d311 Thanks @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 e49d311 Thanks @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 (via beforeNodeMorphed) and island ids stay stable across the HMR refetch thanks to a per-request id counter backed by AsyncLocalStorage.