-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
build(ui): Upgrade to React 16 #6984
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ | |
"diff": "^3.3.0", | ||
"emotion": "^8.0.2-12", | ||
"emotion-theming": "^8.0.2-10", | ||
"enzyme-adapter-react-15": "^1.0.5", | ||
"enzyme-adapter-react-16": "^1.1.1", | ||
"enzyme-to-json": "3.2.2", | ||
"extract-text-webpack-plugin": "^3.0.0", | ||
"file-loader": "0.8.4", | ||
|
@@ -61,20 +61,19 @@ | |
"prop-types": "^15.6.0", | ||
"query-string": "2.4.2", | ||
"raven-js": "3.19.1", | ||
"react": "15.6.2", | ||
"react": "16.2.0", | ||
"react-addons-css-transition-group": "15.6.2", | ||
"react-addons-test-utils": "15.6.2", | ||
"react-bootstrap": "^0.29.5", | ||
"react-document-title": "1.0.4", | ||
"react-dom": "15.6.2", | ||
"react-bootstrap": "^0.32.0", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nice, does this fix the warnings? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i noticed it fixed some warnings relating to modals.... |
||
"react-document-title": "2.0.3", | ||
"react-dom": "16.2.0", | ||
"react-emotion": "^8.0.2-12 ", | ||
"react-hot-loader": "^3.0.0-beta.7", | ||
"react-hot-loader": "^3.1.3", | ||
"react-icon-base": "^2.0.4", | ||
"react-lazy-load": "3.0.10", | ||
"react-lazy-load": "3.0.13", | ||
"react-mentions": "^1.0.0", | ||
"react-router": "3.2.0", | ||
"react-sparklines": "1.6.0", | ||
"react-sticky": "5.0.4", | ||
"react-sparklines": "1.7.0", | ||
"react-sticky": "6.0.1", | ||
"reflux": "0.4.1", | ||
"scroll-to-element": "^2.0.0", | ||
"select2": "3.5.1", | ||
|
@@ -162,7 +161,7 @@ | |
"jest-glamor-react": "^3.1.2", | ||
"jest-junit": "^3.4.1", | ||
"prettier": "1.7.4", | ||
"react-test-renderer": "15.6.2", | ||
"react-test-renderer": "16.2.0", | ||
"sinon": "1.17.2", | ||
"sinon-chai": "2.8.0", | ||
"webpack-dev-server": "^2.7.1" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ export default class ActionLink extends React.Component { | |
return ( | ||
<a | ||
className={classNames(className, {disabled})} | ||
onClick={!disabled && onAction} | ||
onClick={disabled ? undefined : onAction} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. react doesn't like false as a click handler now? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yep |
||
disabled={disabled} | ||
> | ||
{children} | ||
|
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.
⭐️