nytimes/react-tracking

React 18 peer dependency

aldrakos opened this issue · 5 comments

Hello and thanks for the awesome job on this library!

Wanted to ask if there are any plans to support React 18, even just by adding the peer dependency and not fully opting in the new React18 features.

Sure yea, it should be fully compatible. PRs welcome!

Thanks! Will look into that then!

@aldrakos Did you ever try out React 18? I am finding that it is not compatible

@aldrakos Did you ever try out React 18? I am finding that it is not compatible

How so? Latest versions have react18 as a peer dependency, and everything works smoothly.

I filed an issue here - #218

I just upgraded react and react-dom and didn't change any tracking code and am seeing this issue