Shipping Vurox with _app.js
Under the hood we ship react application with Next js framework. here app initialization folder _app.js. Which provides app configuration for Redux, Redux-thunk, Context for react app
Next.js uses the App
component to initialize pages. You can override it and control the page initialization. Which allows you to do amazing things like:
Persisting layout between page changes
Keeping state when navigating pages
Custom error handling using
componentDidCatch
Inject additional data into pages
To override the default App
, create the file ./pages/_app.js
as shown below:
Last updated