Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use React.createContext() by @markerikson #995

Closed
wants to merge 13 commits into from
Closed
71 changes: 21 additions & 50 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"invariant": "^2.2.4",
"loose-envify": "^1.1.0",
"prop-types": "^15.6.1",
"react-is": "^16.4.2",
"react-lifecycles-compat": "^3.0.0"
},
"devDependencies": {
Expand Down
6 changes: 5 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ const config = {
replace({
'process.env.NODE_ENV': JSON.stringify(env)
}),
commonjs()
commonjs({
namedExports: {
'node_modules/react-is/index.js': ['isValidElementType'],
}
})
]
}

Expand Down
Loading