Add React.createContext to @babel/plugin-transform-react-pure-annotat… (#11685)

Co-authored-by: Jesse Thomson <jesset@qualtrics.com>
This commit is contained in:
Jesse Thomson
2020-06-05 20:36:06 -06:00
committed by GitHub
parent 9d289c1457
commit 426acf336e
4 changed files with 10 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ const PURE_CALLS = new Map([
"react",
[
"cloneElement",
"createContext",
"createElement",
"createFactory",
"createRef",