| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -802,6 +802,8 @@ private DataFlow::SourceNode higherOrderComponentBuilder() { | |||
| 802 | 802 | or | |
| 803 | 803 | result = DataFlow::moduleMember("recompose", _).getACall() | |
| 804 | 804 | or | |
| 805 | + result = DataFlow::moduleMember(["mobx-react", "mobx-react-lite"], "observer") | ||
| 806 | + or | ||
| 805 | 807 | result = reactRouterDom().getAPropertyRead("withRouter") | |
| 806 | 808 | or | |
| 807 | 809 | exists(FunctionCompositionCall compose | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,6 +10,8 @@ getACandidatePropsValue | |||
| 10 | 10 | | props.js:30:46:30:67 | "propFr ... tProps" | | |
| 11 | 11 | | props.js:32:22:32:34 | "propFromJSX" | | |
| 12 | 12 | | props.js:34:33:34:53 | "propFr ... ructor" | | |
| 13 | + | useHigherOrderComponent.jsx:5:33:5:37 | "red" | | ||
| 14 | + | useHigherOrderComponent.jsx:11:39:11:44 | "lazy" | | ||
| 13 | 15 | | useHigherOrderComponent.jsx:17:40:17:46 | "lazy2" | | |
| 14 | 16 | getACandidateStateSource | |
| 15 | 17 | | es6.js:14:1:20:1 | class H ... }\\n} | es6.js:18:22:18:31 | { baz: 42} | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,13 +2,13 @@ import SomeComponent from './higherOrderComponent'; | |||
| 2 | 2 | import { lazy } from 'react'; | |
| 3 | 3 | ||
| 4 | 4 | function foo() { | |
| 5 | - return <SomeComponent color="red"/> // $ MISSING: getACandidatePropsValue | ||
| 5 | + return <SomeComponent color="red"/> // $ getACandidatePropsValue | ||
| 6 | 6 | } | |
| 7 | 7 | ||
| 8 | 8 | const LazyLoadedComponent = lazy(() => import('./higherOrderComponent')); | |
| 9 | 9 | ||
| 10 | 10 | function bar() { | |
| 11 | - return <LazyLoadedComponent color="lazy"/> // $ MISSING: getACandidatePropsValue | ||
| 11 | + return <LazyLoadedComponent color="lazy"/> // $ getACandidatePropsValue | ||
| 12 | 12 | } | |
| 13 | 13 | ||
| 14 | 14 | const LazyLoadedComponent2 = lazy(() => import('./exportedComponent').then(m => m.MyComponent)); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments