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: improve template text node serialization #9722

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

trueadm
Copy link
Contributor

@trueadm trueadm commented Nov 30, 2023

Fixes #9695

Copy link

changeset-bot bot commented Nov 30, 2023

🦋 Changeset detected

Latest commit: d67e069

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

This PR includes changesets to release 1 package
Name Type
svelte 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

fix: improve template text node serialization
@trueadm trueadm force-pushed the improve_template_text_node_serialization branch from 05b6f92 to d67e069 Compare November 30, 2023 11:52
Copy link

vercel bot commented Nov 30, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
svelte-5-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 30, 2023 11:58am

@trueadm trueadm merged commit 2fa0644 into main Nov 30, 2023
9 checks passed
@trueadm trueadm deleted the improve_template_text_node_serialization branch November 30, 2023 13:44
Rich-Harris added a commit that referenced this pull request Nov 30, 2023
Rich-Harris added a commit that referenced this pull request Nov 30, 2023
Rich-Harris added a commit that referenced this pull request Jan 31, 2024
Rich-Harris added a commit that referenced this pull request Jan 31, 2024
* Revert "fix: improve template text node serialization (#9722)"

This reverts commit 2fa0644.

* regression test for #9722

* add back failing test

* better test

* create text nodes during hydration

* partial fix

* partial fix

* remove nasty brittle logic

* simplify

* refactor

* rename

* thunkify

* fix

* add back changeset

* changeset

* lint

---------

Co-authored-by: Rich Harris <rich.harris@vercel.com>
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.

Svelte 5: HTML fragment processing bug with {undefined}
1 participant