CodexBloom - AI-Powered Q&A Platform

useReducer not persisting state between routes in a Next.js application

👀 Views: 9 💬 Answers: 1 📅 Created: 2025-05-31
react next.js usereducer

I'm experiencing an issue where my component state managed by `useReducer` seems to reset every time I navigate between routes in my Next.js application. I'm us...