[Bug]: jsx-no-constructed-context-values
doesn't detect issues when context is used as provider in react v19
#3888
Labels
Is there an existing issue for this?
Description Overview
In React 19, you can render
<Context>
as a provider instead of<Context.Provider>
.However when doing so
jsx-no-constructed-context-values
doesn't detect violations.Expected Behavior
eslint-plugin-react version
v7.37.2
eslint version
v8.57.1
node version
v18.20.6
The text was updated successfully, but these errors were encountered: