You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Main idea was to migrate to the latest react-scripts.
Major dependencies upgrades
Package
Version
Previous Version
react-scripts
^4.0.1
^3
@storybook+
^6
^5
jest+
^25.1.0
^26
eslint
^6
^7
Enhanced
We now require react@^16.8, it's set as peer dependency
Fixed
Removed duplicated react-dom in bundle
Notes
No new JSX transform because it's not supported by pug. We'll turn it back as soon as pug stops using deprecated node types, which are not supported by new jsx transform
Enzyme requires react@16. No problem to use latest react, but some unexpected problems can occur in tests (I caught issue with mounting there). Also you always can use react testing library instead of enzyme ;).
When there is prettier and we specify long values in styles, it caused an issue with wrong indentation. Now indentation rule is turned off for prettier and it's fully on prettier ;).