Tealium / tealium-react-native

Other
12 stars 23 forks source link

tealium-react-native support for react 18? #130

Closed pwllam closed 1 year ago

pwllam commented 2 years ago

Tried to install tealium-react-native, but support seems to be limited to v17. Our team is set on using react 18 for an app that will use tealium so this is going to be an issue. Will there be any plans to update the package to support React 18?

npm ERR! Found: react@18.0.0
npm ERR! node_modules/react
npm ERR!   react@"18.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.1 || ^17.0.0" from tealium-react-native@2.2.1
npm ERR! node_modules/tealium-react-native
npm ERR!   tealium-react-native@"*" from the root project
craigrouse commented 2 years ago

@pwllam thanks for raising this. We'll take a look and get back to you.

craigrouse commented 1 year ago

Works with React 18