CodeQL queries 1.25
Skip to end of metadata
Go to start of metadata

Finds import statements that import from module 'react'

import javascript

from ImportDeclaration id
where id.getImportedPath().getValue() = "react"
select id