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

can't edit state #26

Closed
mvolkmann opened this issue Dec 26, 2019 · 3 comments
Closed

can't edit state #26

mvolkmann opened this issue Dec 26, 2019 · 3 comments

Comments

@mvolkmann
Copy link

The README says "By selecting one of the nodes in the tree, you can inspect and edit its current state in the panel to the right." This isn't working for me. But I noticed that the state values do not have names, just numbers. I wonder if this is related to recent changes to the way Svelte manages the state in components, storing it in an array. Perhaps svelte-devtools just hasn't been updated to work with the new way to storing state yet.

@RedHatter
Copy link
Collaborator

Your hunch is right. This is a known issue in svelte 3.16 see sveltejs/svelte#4041 and sveltejs/svelte#3822. This will be an easy fix once the PR is merged.

@mvolkmann
Copy link
Author

@RedHatter What about the ability to edit state values? As far as I can tell, this still doesn't work. Is that still wanting on a change in Svelte itself?

@RedHatter
Copy link
Collaborator

I apologize... there was a bug in one of my recent commits causing props not to be cloned. Try the latest version. You can install from Firefox or master. Chrome is still under review.

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

No branches or pull requests

2 participants