Next.js
What is the _app.js (or _app.tsx) file used for in Next.js?
_app.js is a Pages Router special file that wraps every page component, acting as the application root.
_app.js is a Pages Router special file that wraps every page component, acting as the application root.