Skip to content

Conversation

@Rich-Harris
Copy link
Member

I use log_effect_tree a lot when trying to debug why things aren't updating as they should. While using it to wrap my head round #17240 it occurred to me that we could make it a little more useful by printing signal labels and, where applicable, nodes.

Before:

image

After:

image

@changeset-bot
Copy link

changeset-bot bot commented Nov 25, 2025

⚠️ No Changeset found

Latest commit: a85d8f1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@svelte-docs-bot
Copy link

@github-actions
Copy link
Contributor

Playground

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

@7nik
Copy link
Contributor

7nik commented Nov 25, 2025

Maybe I need to finish my side project, which is basically REPL + autoupdating visualization of the reactivity tree. And even attempt to record its changes.

Copy link
Member

@dummdidumm dummdidumm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

untrack suggestion otherwise lgtm 👍

@dummdidumm dummdidumm merged commit e3acf5d into main Nov 25, 2025
15 of 16 checks passed
@dummdidumm dummdidumm deleted the better-log-effect-tree branch November 25, 2025 21:50
@Rich-Harris
Copy link
Member Author

lol jinx

image

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.

4 participants