[X] I have searched the existing issues and my issue is unique
[X] My issue appears in the command-line and not only in the text editor
Description Overview
Even though checkKeyMustBeforeSpread works correctly when we use it on statically defined elements, the error is missed for dynamically generated items.
Is there an existing issue for this?
Description Overview
Even though
checkKeyMustBeforeSpread
works correctly when we use it on statically defined elements, the error is missed for dynamically generated items.Expected Behavior
react/jsx-key
should report an error when thecheckKeyMustBeforeSpread
option is enabled and the array of elements is generated dynamically.eslint-plugin-react version
v7.33.2
eslint version
v8.54.0
node version
v20.10.0