use-delayed-render icon indicating copy to clipboard operation
use-delayed-render copied to clipboard

Need to update React version to 17

Open kmvan opened this issue 4 years ago • 3 comments

npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.13.1" from [email protected]
npm ERR! node_modules/use-delayed-render

kmvan avatar Jul 26 '21 10:07 kmvan

I have the same error : Could not resolve dependency: npm ERR! peer react@"^16.13.1" from [email protected] npm ERR! node_modules/use-delayed-render npm ERR! use-delayed-render@"^0.0.7" from the root project

MOHAMED-EHAB-DEV avatar Mar 01 '22 16:03 MOHAMED-EHAB-DEV

Hi @pacocoursey any chance of update compatibility ?

laurent-d avatar Dec 14 '22 15:12 laurent-d

Until @pacocoursey doesn't solve this issue I have found two possible workarounds:

  1. Run npm install with --legacy-peer-deps option (You need to pass this option every time you run npm install if this library is added as a dependency)
  2. Remove this library as a dependency and copy hook source code to your own project and import it directly.

vsimonovski avatar Dec 18 '22 16:12 vsimonovski