Re:How to store your app's entire state in the url
by voidmain0001 on Monday January 09, 2023 @05:56PM
(#34317713)
Okay that's not exactly what I had in mind. My suggestion was to implement the same hash both server and client side so that the query string is small and manageable. Don't worry about the state not being fully legible because you will implement the hash decode on the client too. The code will be there for you to peruse.
[ Parent
| on HN ]
Re:How to store your app's entire state in the url
by vikramkr on Monday January 09, 2023 @07:27PM
(#34318571)
How would you decode the hash? Amy of infinite states could map to the hash
Re:How to store your app's entire state in the url
by voidmain0001 on Monday January 09, 2023 @08:24PM
(#34319062)
I've lost my mind. I literally just implemented a dictionary web API the other week and have completely forgotten how I did it. Just forget what I wrote.