You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to default import as the usage stated
"import 'ReactGA' from 'react-ga4'"
ReactGA.initialize('G-0000000000') is not usable and saying it is not a function.
in the console.log, it is importing both ReactGAImplementation and default so it can only be initialize through ReactGA.default.initialize().
Is this intended because the usage tutorial is not stated like that
The text was updated successfully, but these errors were encountered:
When I try to default import as the usage stated
"import 'ReactGA' from 'react-ga4'"
ReactGA.initialize('G-0000000000') is not usable and saying it is not a function.
in the console.log, it is importing both ReactGAImplementation and default so it can only be initialize through ReactGA.default.initialize().
Is this intended because the usage tutorial is not stated like that
The text was updated successfully, but these errors were encountered: