-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Solidjs VList reactivity not working #425
Comments
Hi, thank you for the reproduction. I'll check this problem later, but it may take some time because I'm not a experienced Solid.js developer. |
I was expecting it to work similar to the |
Released in |
Describe the bug
As a minimal reproducable example, i created a
VList
with some example data and an Button that updates the example data.But the DOM Elements don't update when the data is accessed trough the
VList
item
, they only update when they are accessed trough the index. Is this wanted behaviour?Example:
In this example only the
{data()[i]}
updates, when i click the button, the{item}
never updatesTo Reproduce
Here is a CodeSanbox of the Example: link
Expected behavior
Both the
{data()[i]}
and{item}
should update, when i click the buttonPlatform:
The text was updated successfully, but these errors were encountered: