3 ms·
> This is pretty common and has a bunch of advantages, like the fact you can link to and bookmark a particular state. Conversely, you can't link to the newest
by amadeuspagel 4y ago
> This is pretty common and has a bunch of advantages, like the fact you can link to and bookmark a particular state.
Conversely, you can't link to the newest version.
- ivanhoe 4y agoIMHO you should never store the data itself in the url, only the params that you use to fetch the data. So if the page is the list of the latest 10 posts in a category, you'll store the category in the url and the sorting criteria, not the IDs of the posts themselves. On the refresh you always get the fresh data.