TanStackT
TanStack9mo ago
2 replies
brilliant-lime

Using url params for state w/ multiple components on a page

I follow the concept of using url for state in some cases where you refresh a page and want the same filters, sorting etc.. applied, it works great if it was a single table on a simple page. How does (or should it) this approach work on something like a Dashboard page, that may have multiple tables, lists, etc...

Ending up with something like ?table1SortBy=...&table2SortBy=... feels weird to me.

Thanks for any guidance.
Was this page helpful?