Skip to content

Add support for React 18.* #10

@RodolfoSilva

Description

@RodolfoSilva

Hey @iway1 thanks for this package.

Do you have plan to add support for react 18? RIght now the NPM is complaining about the version required by the package.

➜  mobile git:(main) npm i @good-react-native/keyboard-avoider
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   react@"18.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^17.0.0" from @good-react-native/[email protected]
npm ERR! node_modules/@good-react-native/keyboard-avoider
npm ERR!   @good-react-native/keyboard-avoider@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Note: I know i can just use the flag to force the installations, but this not sounds right.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions