<OneAuxiliaLoaded>
The <OneAuxiliaLoaded> component guarantees that the OneAuxilia object has loaded and will be available under window.OneAuxilia. This allows you to wrap child components to access the OneAuxilia object without the need to check it exists.
Usage
App Router
app/layout.tsx
Once you have wrapped your app with , you can access the OneAuxilia object without the need to check if it exists.
app/page.tsx
Pages Router
pages/_app.tsx
Once you have wrapped your app with , you can access the OneAuxilia object without the need to check if it exists.
pages/index.tsx
Last updated