Svelte/Table - preserve complex state on sorted, paginated, faceted Table
Hello,
Using Sveltekit and Tanstack Table, I have a table that includes sorting, pagination, and faceting. It works well, but I need to be able to preserve the table state such that if the user links away to another page (to view details, for example) and then uses the back button to return, the table should be able to resume the same state as before, preserving current page, sorting, and faceting.
It seems like there should be a way to do this by preserving the overall Table state in a Svelte store, but I’m not sure how to go about it.
Any pointers to examples would be appreciated!
Thank you.
0 Replies