Skip to content
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

Upgrade to React 18 #2510

Merged
merged 25 commits into from
Oct 4, 2022
Merged

Upgrade to React 18 #2510

merged 25 commits into from
Oct 4, 2022

Conversation

mimarz
Copy link
Contributor

@mimarz mimarz commented Sep 21, 2022

resolves #2474

I have published these changes to the test Storybook for testing: https://eds-storybook-react-test.azurewebsites.net/

Tested with our storybook test and locally downstream with pack of eds-core-react. Everything seems to work fine, and I couldn't find any bugs (apart from the know with downshift). I guess it speaks for its self since we treat react as a peer-deps, a lot of our users are already using eds-core-react with React 18, I think we would have heard by now if there were any problems with that.

The biggest change with this PR is then that our development environment is now using React 18. To begin with we should refrain from using new React 18 hooks/utils until its more adpoted.

Only nuisance that still persists is that Storybook hasn't completely supported React 18 yet, so we get this error message in SB.

image

@mimarz mimarz changed the title ⬆️ Upgrade to React 18 🚧 Upgrade to React 18 Sep 21, 2022
@mimarz mimarz force-pushed the chore/MIM-2474-react-18 branch from 08d4a2d to fa06300 Compare September 22, 2022 06:37
@mimarz
Copy link
Contributor Author

mimarz commented Sep 22, 2022

Finally! Checks are green! 🙏

@mimarz mimarz changed the title 🚧 Upgrade to React 18 Upgrade to React 18 Sep 27, 2022
@mimarz mimarz force-pushed the chore/MIM-2474-react-18 branch from 5eb737a to d025a59 Compare October 3, 2022 07:12
Copy link
Collaborator

@oddvernes oddvernes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 😬

@mimarz mimarz merged commit 11507e8 into develop Oct 4, 2022
@mimarz mimarz deleted the chore/MIM-2474-react-18 branch October 4, 2022 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test our packages with React 18 upgrade
2 participants