News for hackers. Stuff that matters.
Re:How to store your app's entire state in the url by tonto on Monday January 09, 2023 @01:28PM (#34314005)
I always like this when the url is always copyable, but in our app, the state can get quite large. We started with base64 encoded gzip of json.stringified app state but just gets quite long. Arguably it could be reduced a little bit, but would still be hundreds-thousands of chars routinely, so we switched to using a little URL shortening service that we wrote on aws lambda+dynamodb

There are no comments on this comment yet.