Skip to content
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

fix: hydration might remove the node from the DOM causing it no longer have a parent #374

Closed
wants to merge 2 commits into from

Conversation

jacob-ebey
Copy link
Contributor

@jacob-ebey jacob-ebey commented Jun 13, 2024

No description provided.

Copy link

changeset-bot bot commented Jun 13, 2024

🦋 Changeset detected

Latest commit: af0e7df

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
preact-render-to-string Patch

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

@jacob-ebey jacob-ebey changed the title fix: hydration might remove the node from the DOM causing it no longe… fix: hydration might remove the node from the DOM causing it no longer have a parent Jun 13, 2024
@jacob-ebey
Copy link
Contributor Author

@JoviDeCroock Got another one for ya.

@jacob-ebey
Copy link
Contributor Author

Nevermind, this isn't the core of the issue I'm seeing. Need support for preserving the comments during hydration. There are race conditions there.

@jacob-ebey jacob-ebey closed this Jun 13, 2024
@JoviDeCroock
Copy link
Member

JoviDeCroock commented Jun 13, 2024

@jacob-ebey comments should be preserved with preactjs/preact#3327 - do you think Preact is removing it or is there something else going on?

Thinking more about that it's possible that we need the same check here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants