-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Description
Please see this issue: facebook/react#13006.
Children aren't meant to be manually managed in an array. Instead, the idea is that you should call underlying library's appendChild
and similar methods in your appendChild
.
Declaring classes and keeping track of children in arrays and then calling render
kind of goes against that because you're ignoring the valuable information React gives you (which child was added/removed) and then somehow try to reconstruct it later.
I temporarily removed the link to this tutorial from the README of the reconciler package but happy to re-add it if these issues are addressed. Also happy to answer more questions.
nitin42, NE-SmallTown and Yukaii
Metadata
Metadata
Assignees
Labels
No labels