{[0, 1, 2, 3].map(key => {
<>
<div>{key}</div>
</>
})}
error Missing "key" prop for element in iterator. Shorthand fragment syntax does support providing keys
It says the shorthand fragment syntax does support keys, but I think it does not support it, or does it?
Asking if this is a typo.