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

Add peer dependency for React 18 in visually-hidden package #953

Merged
merged 1 commit into from
Aug 7, 2022

Conversation

cassidoo
Copy link
Member

@cassidoo cassidoo commented Aug 5, 2022

Hey team, right now if you install this package with a fresh React 18 project, you get a ERESOLVE unable to resolve dependency tree and I made this small change so that not everyone needs to do the whole --legacy-peer-deps thing.

I can update it to >=16.8 instead of adding the || if you'd prefer, too, and add other packages as well, but I started small in case there might be a reason to not do this.

This pull request:

  • Adds additional features/functionality to an existing package

@cassidoo cassidoo added the dependencies Pull requests that update a dependency file label Aug 5, 2022
@codesandbox-ci
Copy link

codesandbox-ci bot commented Aug 5, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 496cfd8:

Sandbox Source
reach-ui-template Configuration

@cassidoo cassidoo changed the title Add peer dependency for React 18 Add peer dependency for React 18 in visually-hidden package Aug 5, 2022
@bradwestfall
Copy link
Contributor

bradwestfall commented Aug 5, 2022

I get this a lot for the other reach packages too, not just visually-hidden. This might be more of a @chaance thing though, I'm not so much involved.

@cassidoo
Copy link
Member Author

cassidoo commented Aug 5, 2022

Good to know @bradwestfall! I figured Chance might be the person to ping on this but wasn't sure 😅

@chaance
Copy link
Member

chaance commented Aug 7, 2022

For reference there is still a lot of testing needed for React 18 in general (tracking here). This one is safe to update though so I'll merge 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants