4 ms·
This is an interesting approach. Should help mitigate the URL max length for larger states. However as some people have pointed out it comes with a few caveats
by arnorhs 4y ago
This is an interesting approach. Should help mitigate the URL max length for larger states.
However as some people have pointed out it comes with a few caveats
- The URL is unreadable for humans
- You possibly end up storing things in the URL you did not intend
- For smaller data sets the URL actually becomes larger than the URL params equivalent
- You end up having to deal with version issues, possibly even URL string migrations as the code evolves
I'm sure there still are use cases where this makes sense, but for most applications this ends up being overly complex