andrezimpel / gatsby-plugin-gdpr-cookies

Gatsby plugin to add Google Analytics (V4 is supported), Google Tag Manager, Facebook Pixel, TikTok Pixel and Hotjar in a GDPR form to your site.
Apache License 2.0
101 stars 70 forks source link

Support react 18 #85

Open adrian-goe opened 2 years ago

adrian-goe commented 2 years ago

Is your feature request related to a problem? Please describe. I updated my homepage project and noticed this message:

npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR!   react@"18.2.0" from the root project
npm ERR!   peer react@"^16.9.0 || ^17.0.0 || ^18.0.0" from gatsby@4.17.2
npm ERR!   node_modules/gatsby
npm ERR!     gatsby@"4.17.2" from the root project
npm ERR!     peer gatsby@"^2.24.77 || ^3.0.0 || ^4.0.0" from gatsby-plugin-gdpr-cookies@2.0.9
npm ERR!     node_modules/gatsby-plugin-gdpr-cookies
npm ERR!       gatsby-plugin-gdpr-cookies@"2.0.9" from the root project
npm ERR!   1 more (react-dom)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.13.1 || ^17.0.1" from gatsby-plugin-gdpr-cookies@2.0.9
npm ERR! node_modules/gatsby-plugin-gdpr-cookies
npm ERR!   gatsby-plugin-gdpr-cookies@"2.0.9" from the root project

Describe the solution you'd like support react 18

RectoVersoDev commented 1 year ago

Hi, any update on this ? 👀