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

feat(react): add support for react 18 #16

Merged
merged 4 commits into from
Aug 9, 2022

Conversation

afenton90
Copy link
Contributor

This PR adds the following changes:

  • Support for React 18: peerDependencies have been updated to allow react & react-dom 18 to be installed. Due to the usage of react in this module 16 & 17 can still be supported for now.
  • Storybook upgrade: Storybook has been upgraded to the latest version to add better support for React 18. There is still one open issue in storybook to add full support, but it works fine without it here.
  • Dependencies updated:
    • react-script-hook required an upgrade to support React 18 so this has been done. I noticed at the same time that this was listed in devDependencies when it was used in the main export code. So this has been upgraded into dependencies (no changes for module consumers here).
    • react-select: Would have needed an upgrade but in fact isn't used in the module anymore, so has been removed.

closes #15

@dmsolutionz
Copy link

👍

@rliddler rliddler requested a review from markwilson August 4, 2022 12:11
Copy link
Contributor

@aniketmalandkar aniketmalandkar left a comment

Choose a reason for hiding this comment

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

LGTM 👍 Left minor comments.

Please wait for @oanaOM to review the changes :)

Copy link

@oanaOM oanaOM left a comment

Choose a reason for hiding this comment

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

Thanks for your contributing to this!
Besides @aniketmalandkar's comments, LGTM! 🚀

@aniketmalandkar aniketmalandkar merged commit 324ec8e into gocardless:master Aug 9, 2022
@aniketmalandkar
Copy link
Contributor

@afenton90 Thanks for your contribution! :)

@afenton90 afenton90 deleted the feat/react-18 branch August 9, 2022 08:43
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.

Support React 18
4 participants