Reproduction
https://fanatical-dot-bumper.glitch.me/
In React documentation, they say
That is, toArray prefixes each key in the returned array so that each element’s key is scoped to the input array containing it.
In other words, it will assign keys, even if they were undefined before. This is not the case for Preact's implementation and causes issues when using preact/compat
Reproduction
https://fanatical-dot-bumper.glitch.me/
In React documentation, they say
In other words, it will assign keys, even if they were undefined before. This is not the case for Preact's implementation and causes issues when using
preact/compat