Layout State

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

To learn more, check the article on Smashing Magazine

sourceindexgets state from API and sets it to MainLayout
sourcestatelessuses DefaultLayout and does not have state
sourcepokemongets state from /index page through MainLayout


Your Pokemon is: mienshao