Skip to content

Rendering rune with nested array data can corrupt values in rune. #10142

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

Closed
Leftium opened this issue Jan 10, 2024 · 3 comments
Closed

Rendering rune with nested array data can corrupt values in rune. #10142

Leftium opened this issue Jan 10, 2024 · 3 comments

Comments

@Leftium
Copy link

Leftium commented Jan 10, 2024

Describe the bug

Rendering a rune with nested array data (without using a key in the {#each} block) seems result in data corruption.

  • Data in a sub-array seems to be (partially) over-written by data from another sub-array.

Reproduction

Follow steps in REPL

Logs

No response

System Info

REPL: Svelte v5.0.0-next.32

Severity

annoyance

@Leftium
Copy link
Author

Leftium commented Jan 10, 2024

Possibly related bug: #10037

@wires5210
Copy link

Possibly related bug: #10037

i'm sure it's related (maybe even the same bug actually?), the example in my issue seems to work if the each block has a key

@wickning1
Copy link

#10037 is closed and the REPL seems to work. I think this can be closed.

@Leftium Leftium closed this as completed Jan 13, 2025
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

3 participants