react-native-floating-action-bar
react-native-floating-action-bar copied to clipboard
React 18.1.0 compatibility
Hi, Is there a way to make it work with React 18? It's telling me I have to downgrade to React 16. And, not sure if I want to do that.
$ npm i react-native-floating-action-bar --save 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.1.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.13.1" from [email protected] npm ERR! node_modules/react-native-floating-action-bar npm ERR! react-native-floating-action-bar@"*" 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. npm ERR! npm ERR! npm ERR! For a full report see: npm ERR! C:\Users\ [...] -eresolve-report.txt
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\ [...] -debug-0.log
@Monikku12 You could install it with --force
added. This will skip the dependency check for react 16. It will work fine with 18. I'll try and find some time to update the library.