Persisting state across Next.js pages - Theo's Typesafe Cult