don’t lose data on refresh. "sessionstorage is not defined nextjs redux" sessionStorage is a Browser thing. so you get this warning on the server-side because the browser isn't mounted yet on refresh. It works localhost-wise, but may crash my server on deploy. Just a note.