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 <ofediashov@exadel.com> # 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 <ofediashov@exadel.com>
Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
…React into react-16 Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com> # Conflicts: # docs/src/examples/modules/Modal/Variations/ModalExampleCloseConfig.js
* feat(Portal): add `triggerRef` prop Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com> * test(Portal): add test for `triggerRef` prop Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
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 <ofediashov@exadel.com>
Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
|
@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 <ofediashov@exadel.com> # 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 <ofediashov@exadel.com>
|
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 <ofediashov@exadel.com> # Conflicts: # src/modules/Popup/Popup.js
Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
@levithomason I hate the |
Signed-off-by: Oleksandr Fediashov <ofediashov@exadel.com>
|
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
PortalSee #2755 for detailed list of performed changes.
3. Add the
triggerRefforPortalSee #2902 for more details.
4. Breaking changes in the shorthand API of
AccordionSee #2904 for detailed list of performed changes.