Skip to content

fix: hydrate if blocks correctly#17784

Merged
dummdidumm merged 1 commit intomainfrom
if-block-hydration-fix
Feb 23, 2026
Merged

fix: hydrate if blocks correctly#17784
dummdidumm merged 1 commit intomainfrom
if-block-hydration-fix

Conversation

@dummdidumm
Copy link
Member

We were not using the correct node to analyze the if block marker

Fixes #17751

We were not using the correct node to analyze the if block marker

Fixes #17751
@changeset-bot
Copy link

changeset-bot bot commented Feb 23, 2026

🦋 Changeset detected

Latest commit: a3963f2

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

@svelte-docs-bot
Copy link

@github-actions
Copy link
Contributor

Playground

pnpm add https://pkg.pr.new/svelte@17784

@dummdidumm dummdidumm merged commit fcdc028 into main Feb 23, 2026
20 checks passed
@dummdidumm dummdidumm deleted the if-block-hydration-fix branch February 23, 2026 17:57
@github-actions github-actions bot mentioned this pull request Feb 23, 2026
elliott-with-the-longest-name-on-github pushed a commit that referenced this pull request Feb 25, 2026
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## svelte@5.53.4

### Patch Changes

- fix: set server context after async transformError
([#17799](#17799))

- fix: hydrate if blocks correctly
([#17784](#17784))

- fix: handle default parameters scope leaks
([#17788](#17788))

- fix: prevent flushed effects from running again
([#17787](#17787))

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.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.

Layout shift when using {:else} with await on remote functions during SSR

2 participants