Skip to content

Conversation

@hmnd
Copy link
Contributor

@hmnd hmnd commented Dec 15, 2025

fixes sveltejs/kit#15059, fixes #17342, fixes #17111, fixes #17323

#17105 resulted in a few regressions to how deriveds with no dependencies are treated. At worst, it broke reactivity for deriveds in branch effects, but I realized it also casued perf regressions like #17342. Both are now addressed, with test to match.

Before submitting the PR, please make sure you do the following

  • It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
  • Prefix your PR title with feat:, fix:, chore:, or docs:.
  • This message body should clearly illustrate what problems it solves.
  • Ideally, include a test that fails without this PR but passes with it.
  • If this PR changes code within packages/svelte/src, add a changeset (npx changeset).

Tests and linting

  • Run the tests with pnpm test and lint the project with pnpm lint

@changeset-bot
Copy link

changeset-bot bot commented Dec 15, 2025

🦋 Changeset detected

Latest commit: d117320

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@17362

@hmnd hmnd force-pushed the push-spyzomlslloo branch from 2e7ecea to 8ff5006 Compare December 15, 2025 07:06
@hmnd hmnd force-pushed the push-spyzomlslloo branch from 8ff5006 to 3268f7d Compare December 15, 2025 21:57
@hmnd hmnd changed the title fix: reconnect deriveds inside branch effects fix: derived reactivity regressions from #17342 Dec 15, 2025
@hmnd hmnd changed the title fix: derived reactivity regressions from #17342 fix: derived reactivity regressions from #17105 Dec 15, 2025
@hmnd hmnd changed the title fix: derived reactivity regressions from #17105 fix: derived reactivity and perf regressions Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant