Closed agracia-foticos closed 4 months ago
Hey, @agracia-foticos
AnalyticsBrowser instances are thenable.
const analytics = new AnalyticsBrowser() // this is buffered
analytics.load(...)
const [analyticsInternal, ctx] = await analytics // this is the underlying, initialized analytics -- you generally don't need to do this:
We recommend you don't await
.
const segment = await useSegment(); // don't do this
const segment = useSegment(); // do this
We have this environment https://stackblitz.com/edit/nuxt-starter-juxjq4
When i use segment into a Nuxt 3 composable, the object into the composable and outthere its diferent!!!