Stop using useState. Too many sites rely on this or state managers without thinking about the user navigation experience. Lets learn how we can use URL Search Params to handle state instead, with support for server side and client side components. This way we can persist state elements between user when they send links, or refresh the page.
NextJS Docs: https://nextjs.org/docs/app/apirefer...
NextJS SearchParams Tutorial: https://nextjs.org/learn/dashboardap...
Theo Tanstack Router: • I Waited 3 Years For This Router. It ...
NPM nextusequerystate: https://www.npmjs.com/package/nextus...
NPM nextusequeryparams: https://www.npmjs.com/package/nextqu...
Twitter (X): / jollyshopland
Personal Site: https://jamesshopland.com
GitHub: https://github.com/jolbol1
JollyUI: https://jollycod.ing/ui
Where I Work: https://jollycod.ing/work