JS: Add support for react-hot-loader

This commit is contained in:
Asger Feldthaus
2020-11-02 16:38:41 +00:00
parent 09cfb24afa
commit f894cf2074
3 changed files with 6 additions and 1 deletions

View File

@@ -742,6 +742,8 @@ private DataFlow::SourceNode higherOrderComponentBuilder() {
or
result = DataFlow::moduleMember("react-redux", "connect").getACall()
or
result = DataFlow::moduleMember(["react-hot-loader", "react-hot-loader/root"], "hot").getACall()
or
result = reactRouterDom().getAPropertyRead("withRouter")
or
exists(FunctionCompositionCall compose |