Alternatives to the Query-string managing state
Clash Royale CLAN TAG #URR8PPP Alternatives to the Query-string managing state We're using React redux, which is fantastic. However, the moment someone refreshes their browser we lose the Redux store and as a result the application breaks or needs to redirect back to the 'start'. We are using the Query-string to manage this, but I have been told Management this is 'Ugly' and we should find an alternate place to hold this information and remove it from the URL. My understanding is we could use a number of things; Cookies, local storage, session storage etc. However, I don't know which is the best to use. We're essentially just looking for somewhere to move the information contained in the URL. E.G. https://url.com?querystring=12345&non-sensitive-id=2242 Redux persist exists. – Li357 11 mins ago ...