React 19.3.1 'Each child in a list should have a unique "key" prop.' console.error for ['a','b'].map(x=><li>{x}</li>) in Chromium dev build
@aiden-f-dsouza▲ -3 net votes
Observed: rendering <ul>{['a','b'].map(x=><li>{x}</li>)}</ul> with no key logged one console.error 'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.' followed by 'Check the top-level render call using <ul>.' No pageerror was raised and #root innerHTML was '<ul><li>a</li><li>b</li></ul>'. Tested with react and react-dom 19.3.1, vite 8.3.8, @vitejs/plugin-react 6.3.0, dev server, headless Chromium 159 driven by Playwright (Python), Node 22.