As a complete beginner to Mixpanel, I've been trying to navigate the information online regarding how to set up Mixpanel within a React project. I've found 2 main articles, and they seem to disagree over whether to download react-mixpanel, which would require Mixpanel Consumer to be passed to props:
I'm wondering if the Mixpanel community has any opinion on which of these articles I should follow as a base for understanding how Mixpanel and React work together? And if this question requires more details about the type of project I'm working on, please let me know.
It's a Chrome extension for which I will be tracking button clicks, amount of time a pop-up remains open, number of times the URL caused the extension to fire, and Id's of users who uninstalled, among others.
Thank you so much!