You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
fbzz
changed the title
Creating a empty signals and updating it make the application stop re-rendering
Creating a empty signal and updating it make the application stop re-rendering
Sep 26, 2023
since you are modifying the original array with the splice, I think signal will trigger the re-render. can you try remove the todos.value = [...todos.value]? or try with toSpliced.
So using react with vite, we can even use the example from preact, the first update will work, and after that it will stop
The text was updated successfully, but these errors were encountered: