react-device-detect icon indicating copy to clipboard operation
react-device-detect copied to clipboard

Support for React18

Open sushmakale2016 opened this issue 1 year ago • 5 comments

The current library does not support react18, it would be nice to support react 18 as many other dependent applications are moving for upgrading from react 17 to react18

sushmakale2016 avatar Apr 11 '23 08:04 sushmakale2016

Is anybody here? This.

joshuaiz avatar May 20 '23 02:05 joshuaiz

Perfectly works for me with React18

LeroViten avatar Jun 12 '23 09:06 LeroViten

Same here, works for me as well using: "react": "^18.2.0",

thenick775 avatar Jan 06 '24 01:01 thenick775

Does anyone else have a problem installing anything later than [email protected] ?

npm install [email protected]

returns error

npm WARN ERESOLVE overriding peer dependency npm ERR! code ETARGET npm ERR! notarget No matching version found for [email protected]. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist.

Where

npm install react-device-detect@latest

installs version 1.17.0

Any clues what is happening?

Thanks much

Edit:

Using npm version 9.8.1, node version 18.18.0

sweco-selumm avatar Feb 21 '24 13:02 sweco-selumm

Does anyone else have a problem installing anything later than [email protected] ?

npm install [email protected]

returns error

npm WARN ERESOLVE overriding peer dependency npm ERR! code ETARGET npm ERR! notarget No matching version found for [email protected]. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist.

Where

npm install react-device-detect@latest

installs version 1.17.0

Any clues what is happening?

Thanks much

Edit:

Using npm version 9.8.1, node version 18.18.0

SOLVED. Apparently my .npmrc config to our local registry messed things up.

sweco-selumm avatar Feb 21 '24 13:02 sweco-selumm