-
Notifications
You must be signed in to change notification settings - Fork 4k
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(package): update to React 16 #2880
Conversation
* breaking(Portal): use createPortal() API * test(Portal): rewrite tests * test(Portal): rewrite tests * fix(Portal): mixed fixes in tests * fix(Portal): fix path of typings
…React into react-16 Signed-off-by: Oleksandr Fediashov <[email protected]> # Conflicts: # docs/app/Components/IconSearch/IconSearch.js # index.d.ts # src/addons/Portal/Portal.d.ts # src/addons/Portal/Portal.js # src/elements/Flag/Flag.js # src/elements/Icon/Icon.js # src/modules/Modal/Modal.js
Signed-off-by: Oleksandr Fediashov <[email protected]>
Signed-off-by: Oleksandr Fediashov <[email protected]>
Signed-off-by: Oleksandr Fediashov <[email protected]>
Signed-off-by: Oleksandr Fediashov <[email protected]>
Signed-off-by: Oleksandr Fediashov <[email protected]>
…React into react-16 Signed-off-by: Oleksandr Fediashov <[email protected]> # Conflicts: # docs/src/examples/modules/Modal/Variations/ModalExampleCloseConfig.js
* feat(Portal): add `triggerRef` prop Signed-off-by: Oleksandr Fediashov <[email protected]> * test(Portal): add test for `triggerRef` prop Signed-off-by: Oleksandr Fediashov <[email protected]>
Signed-off-by: Oleksandr Fediashov <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #2880 +/- ##
=========================================
Coverage ? 99.81%
=========================================
Files ? 163
Lines ? 2738
Branches ? 0
=========================================
Hits ? 2733
Misses ? 5
Partials ? 0
Continue to review full report at Codecov.
|
Signed-off-by: Oleksandr Fediashov <[email protected]>
Signed-off-by: Oleksandr Fediashov <[email protected]>
@levithomason marked as ready for review. I don't want to include there changes for |
When is this scheduled to ship? |
I hope on this or next week. |
…React into react-16 Signed-off-by: Oleksandr Fediashov <[email protected]> # Conflicts: # index.d.ts # src/addons/Portal/Portal.d.ts # src/elements/Flag/Flag.d.ts # src/elements/Icon/Icon.d.ts # src/modules/Accordion/AccordionAccordion.d.ts
Signed-off-by: Oleksandr Fediashov <[email protected]>
Merged with masted and solved merge conflicts. |
We have two failing tests here, I've run out of time for today:
|
Waiting on this for the IE portal fix! Thanks for your work on it @layershifter! |
…React into react-16 Signed-off-by: Oleksandr Fediashov <[email protected]> # Conflicts: # src/modules/Popup/Popup.js
Signed-off-by: Oleksandr Fediashov <[email protected]>
@levithomason I hate the |
Signed-off-by: Oleksandr Fediashov <[email protected]>
I reverted updates in |
@levithomason I want to merge and release any solution for #2958 before this. |
@layershifter I've merged #2958 released |
…React into react-16 # Conflicts: # src/addons/Portal/Portal.d.ts # src/addons/Portal/Portal.js
Solved merged conflicts and merged 👍 |
Released in |
BREAKING CHANGES
Fixes #2747.
Fixes #2886.
Fixes #2910.
React 16 was released in September 2017, the update process is simple and I don't know any supported application that still uses React 15. It's time to say goodbye to React 15.
Please keep in mind, that in near future we will require React 16.3.
1. Requirement of React 16
Now SUIR requires
react^16.0.0
.2. Breaking changes in
Portal
See #2755 for detailed list of performed changes.
3. Add the
triggerRef
forPortal
See #2902 for more details.
4. Breaking changes in the shorthand API of
Accordion
See #2904 for detailed list of performed changes.