-
Notifications
You must be signed in to change notification settings - Fork 843
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
Add React ^16.0 as a peerDependency, add EuiErrorBoundary #198
Conversation
Blocked by elastic/kibana#15469 |
@@ -89,5 +89,8 @@ | |||
"webpack-dev-server": "2.9.2", | |||
"yeoman-generator": "2.0.1", | |||
"yo": "2.0.0" | |||
}, | |||
"peerDependencies": { | |||
"react": "^16.0.0-rc || ^16.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should move react
and react-router
from dependencies
to devDependencies
too, because at present these modules get installed when I do a regular install of @elastic/eui
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Now if you forget to import a component, you'll see an error like this in the docs UI (but more helpful):
Other changes:
test
module