DavidWells / analytics

Lightweight analytics abstraction layer for tracking page views, custom events, & identifying visitors
https://getanalytics.io
MIT License
2.46k stars 243 forks source link

This package is now creating issues with react 18 as it's unmaintained. #360

Closed tebayoso closed 1 year ago

tebayoso commented 1 year ago

https://github.com/DavidWells/analytics/blob/8af9ec407e1f4bd989c7b48de6d8850a512e4fcd/packages/use-analytics/package.json#L27

DavidWells commented 1 year ago

What issues?

tebayoso commented 1 year ago

React 18 projects warns that the peer dependency is not present, and will never be as the package is unmaintained now.

danestves commented 1 year ago

Can you share the warn? I'm using react@18 and didn't get any warn

niicojs commented 1 year ago

The issue seems to be with mini-create-react-context which is deprecated.

jasonraimondi commented 1 year ago

Here is a screen shot of the warning I am getting when using react 18.

 2023-03-17 at 12 16 09 PM
CGeorges commented 1 year ago

Maybe this issue can be closed since it was fixed here ?https://github.com/DavidWells/analytics/commit/83e21310c007b075dcfdbbb65bd65d5959246b0d