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

3.5.2 breaks unmounting components in keyed each blocks #3055

Closed
btk5h opened this issue Jun 19, 2019 · 0 comments · Fixed by #3056
Closed

3.5.2 breaks unmounting components in keyed each blocks #3055

btk5h opened this issue Jun 19, 2019 · 0 comments · Fixed by #3056

Comments

@btk5h
Copy link
Contributor

btk5h commented Jun 19, 2019

REPL 3.5.2 (breaks)
REPL 3.5.1 (working)

The code seems to break when components are unmounted inside a keyed each block. The bug does not occur if you replace <Thing value={thing}/> with [{thing}] inside the keyed each block, or if you remove the keyed each block entirely.

Curiously, the keyed each block also seems to break the behavior of preceding each blocks. Notice that the incorrect component is removed in the first unkeyed each block.

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 a pull request may close this issue.

1 participant