mixpanel-react-native
mixpanel-react-native copied to clipboard
Mixpanel Initialization
How to check if mixpanel is initialized or not? I cannot find any documentation on this?
Example Scenario: If I created a custom hook isolating the logic of mixpanel initialization, the hook called first time would initialized the SDK but the second time it would not, assumption is that SDK would be already initialized in the background or the second time it does not require initialization even if the hook is called from a different place (another component).
How to check for this?