|
|
|
|
|
by vlasev
1817 days ago
|
|
If you render the inputs via a list, like const inputs = isBob ? [name, confirmation, request] : [name, request]
then it complains that there's no key prop and the issue persists. This shows it's because of confused identity. In the example, it doesn't complain because it doesn't understand that {name}{confirmation}{request} is essentially an unrolled loop. |
|