-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for React v18 (#2481)
![image](https://github.com/dnbexperience/eufemia/assets/1359205/64113a11-6e6b-4296-8c53-a63fc0fdc11e) Tasks left: - [x] Search for `React v18` in our code, it exists a few comments about what to do when we get v18, and do what's needed. - [x] Evaluate or Fix Minified React errors ([JIRA](https://jira.tech.dnb.no/browse/EDS-476)) #2481 (comment) - [x] Fix linting run in CI #2481 (comment) - [x] Fix remaining TS errors in our stories. - [x] Fix screenshot tests, it seems like screenshot tests are more unstable(?), now that we are using React v18. - [x] Look into supporting React v17 as well, this is related to the "v18 changes" done in [TooltipPortal](https://github.com/dnbexperience/eufemia/blob/1e8021ccea7b03f9a60c78cc6760388ac36b55b1/packages/dnb-eufemia/src/components/tooltip/TooltipPortal.tsx#L8) which uses `react-dom/client` - @tujoworker 👀 #2511 --------- Co-authored-by: Joakim Bjerknes <[email protected]> Co-authored-by: Tobias Høegh <[email protected]>
- Loading branch information
1 parent
5d2011e
commit 31a2d2b
Showing
39 changed files
with
1,730 additions
and
1,527 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
31a2d2b
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.
Successfully deployed to the following URLs:
eufemia – ./
eufemia-git-main-eufemia.vercel.app
eufemia-eufemia.vercel.app
eufemia-dnb-design-system-portal.vercel.app