A page mixing cached, dynamic, and client content.
Read from FavouritesContext (cookie-backed via js-cookie) — updates instantly when you toggle ❤️ anywhere.
Indlæser favoritter fra cookies…
Read from the favourites cookie server-side via cookies(). This is a dynamic hole — it streams in fresh per request.
connection() to opt out of static prerendering — the API host and cookies are only available at runtime.'use cache' component with cacheLife('hours').FavouritesContext. Purely client-rendered.cookies()<Suspense>No favourites found. Use the ❤️ buttons on Pokemon cards to add some!
Fetched from the PokeAPI and cached with 'use cache' + cacheLife('hours').