

30·
8 days ago:set linebreak
:set linebreak
Hoły hell thank you, my 7900xtx was doing this and I hadn’t noticed
That sounds harder than just using query parameters. What are the benefits?
But what if you have multiple optional parameters?
They have pretty different use cases. Localstorage is for when you want persistence across page loads, not necessarily specific to any particular page but specific to a browser. An example would be storing user-selected light or dark mode.
Query parameters are specific to a page/URL and you get a lot of things for free when you use them:
Query parameters are good for things like searches, filters, sorting, etc
Query parameters are junk? They have tons of legitimate uses, they’re one of the better places to keep state.
Removed by mod