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
See #14639 and other linked issues for a draft/proposal of a feature to support this. As it stands, this would fall under the same category as other non-POJOs not having automatic reactivity.
Describe the bug
TLDR:
Screen.Recording.2024-12-18.125121.x264.25.mp4
In legacy mode, I could update one element of a TypedArray and the corresponding update would be O(1):
In Runes mode, I cannot do that. The following code does not work. The array is updated but the reactivity is lost, no DOM elements are updated:
If I however copy the array on each call, DOM elements are updated but it takes significantly more time (an O(N) operation for a O(1) change)
Reproduction
https://svelte.dev/playground/9470398dceac4efebf694c307a04b452?version=5.14.4
Logs
No response
System Info
Severity
blocking an upgrade
The text was updated successfully, but these errors were encountered: