-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve nested and client:only
hydration
#3455
Conversation
🦋 Changeset detectedLatest commit: 00ccc48 The changes in this PR will be included in the next version bump. This PR includes changesets to release 10 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
⚖️ Bundle Size CheckLatest commit: ee3ee55
|
7199208
to
72373b1
Compare
client:only
hydrationclient:only
hydration
|
Co-authored-by: Matthew Phillips <[email protected]>
368d375
to
0a78562
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! Really clean fix for the client:only
bug and test coverage, and the events will come in handy down the road
* wip: fix nested islands * fix: improve hydration for dynamic content * chore: fix bundle-size script for new files * chore: allow-list client:* directive files * fix(withastro#3362): fix client:only behavior for React, Vue, Solid * test: add client-only e2e test * chore: update lockfile * test: fix e2e tests * test: add framework nesting e2e tests * Update packages/astro/src/runtime/client/events.ts Co-authored-by: Matthew Phillips <[email protected]> * chore: add changeset * fix(preact): ignore hydrate roots * chore: remove `ssr` check in integrations * Revert "chore: remove `ssr` check in integrations" This reverts commit ba27eaa. * chore: add changeset Co-authored-by: Matthew Phillips <[email protected]>
Changes
client:only
errors @ React, Vue, & Solid #3362MutationObserver
(if available) to check for any unhydrated roots, meaning islands nested in other islands should now be stableTesting
client:only
e2e testDocs
N/A