We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fee944a commit 6ab7846Copy full SHA for 6ab7846
javascript/ql/src/semmle/javascript/frameworks/React.qll
@@ -632,6 +632,7 @@ private DataFlow::SourceNode getAContextRef(DataFlow::CallNode createContext) {
632
*/
633
pragma[nomagic]
634
private DataFlow::Node getAContextInput(DataFlow::CallNode createContext) {
635
+ createContext = react().getAMemberCall("createContext") and
636
result = createContext.getArgument(0) // initial value
637
or
638
exists(JSXElement provider |
0 commit comments