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 crash when inspecting signal hooks #460

Merged
merged 1 commit into from
Feb 28, 2023
Merged

Conversation

marvinhagemeister
Copy link
Member

Hooks inspection does a faked render (similar to React) to be able to detect custom hooks. Because we were calling an incomplete set of option hooks this lead to the internal state in the signals addon referencing the wrong vnodes.

Fixes #456

@marvinhagemeister marvinhagemeister merged commit 09cc7d1 into main Feb 28, 2023
@marvinhagemeister marvinhagemeister deleted the inspect-signal-hook branch February 28, 2023 20:26
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.

Selecting a component with a signal hook breaks the signal.
1 participant