Best way to store data between routes

Is History API a good thing in terms of storing data between routes? What is the best tool to use for this purpose? I see that it stores some weird data when I reload the page instead of navigating to it on client-side At my job we are heavily using react-router and it's history API to pass data from route to route What is the approach with NextJS to achieve such thing? I was also thinking about some kind of global Context but I want simplest solution to create minimal maintenance burden
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server