-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[breaking] [deps] Update react-with-styles and other deps #1761
Conversation
const { whyDidYouUpdate } = require('why-did-you-update'); | ||
whyDidYouUpdate(React); | ||
const whyDidYouRender = require('@welldone-software/why-did-you-render'); | ||
whyDidYouRender(React); |
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.
This fixes a bug where there were two version of React present.
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.
It's no longer necessary, but it will save people lots of debugging time if they want to use hooks in this repo.
08a3a1e
to
dbaa3b7
Compare
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.
fwiw the only potential breaking part of this is the rws update
dbaa3b7
to
00dc88e
Compare
@ljharb Is it a requirement to add tests if I didn't make any changes 🤔 |
1419bc3
to
fe79a98
Compare
38bd2b2
to
8c748cd
Compare
What’s the breaking change in v4 alpha 1 of r-w-s? |
8c748cd
to
1dab51a
Compare
1dab51a
to
f671ffb
Compare
@ljharb The breaking change in RWS@4 is drop support for node 6, and added @babel/runtime as a peer dep. |
c0b3c42
to
b6438b0
Compare
- Drop support for node < 6 - Update: @storybook, webpack, react-with-styles, react-with-direction, react-with-styles-interface-aphrodite, react-with-styles-interface-css, react-with-styles-interface-css-compiler
This is required to use react-with-styles@4.0.0
86875b3
to
d4ea820
Compare
d4ea820
to
db4e194
Compare
Summary
react-with-styles
to latest version as well as a few other required deps.Breaking changes:
Testing
Ran both storybooks (regular and css) and ran tests
Reviewers
@lencioni @ljharb @ahuth @indiesquidge @majapw @goatslacker