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

Update peerDependencies to include React 18 #5133

Merged
merged 4 commits into from Apr 10, 2022
Merged

Update peerDependencies to include React 18 #5133

merged 4 commits into from Apr 10, 2022

Commits on Apr 3, 2022

  1. Update peerDependencies to include React 18

    React 18 was released: https://reactjs.org/blog/2022/03/29/react-v18.html
    
    However using react 18 together with `react-select` v5.2.2 (latest version) breaks down with a dependency conflict:
    
    ```cmd
    > npm install
    npm ERR! code ERESOLVE
    npm ERR! ERESOLVE unable to resolve dependency tree
    npm ERR!
    npm ERR! While resolving: app@0.0.0
    npm ERR! Found: react@18.0.0
    npm ERR! node_modules/react
    npm ERR!   dev react@"^18.0.0" from the root project
    npm ERR!
    npm ERR! Could not resolve dependency:
    npm ERR! peer react@"^16.8.0 || ^17.0.0" from react-select@5.2.2
    npm ERR! node_modules/react-select
    npm ERR!   dev react-select@"5.2.2" from the root project
    ```
    Update `peerDependencies` to allow react 18.
    nil4 committed Apr 3, 2022
    Copy the full SHA
    2ee2e8d View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2022

  1. Copy the full SHA
    b9231af View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    c516543 View commit details
    Browse the repository at this point in the history
  3. Format

    Methuselah96 committed Apr 10, 2022
    Copy the full SHA
    741ea0d View commit details
    Browse the repository at this point in the history