This is a proof-of-concept (PoC).
The app is intentionally over-engineered to exemplify how to omit state from different pages in a Next.js application
| Code | Page | Description |
|---|---|---|
| source | index | gets state from API and sets it to MainLayout |
| source | stateless | uses DefaultLayout and does not have state |
| source | pokemon | gets state from /index page through MainLayout |