Table State in URL
Anyone have a code sandbow for filter state im the URL? Im having a lot of trouble with this
Basically i want my URL query to be the source of truth for my tables filter state
3 Replies
sunny-green•3y ago
any luck? XD
harsh-harlequinOP•3y ago
Lol i had to create my own hook
afraid-scarlet•3y ago
https://docs.pmnd.rs/zustand/integrations/persisting-store-data#how-can-i-use-a-custom-storage-engine - Zustand might be an easy solution (with a custom store)
Zustand Documentation
Zustand Documentation
Zustand is a small, fast and scalable bearbones state-management solution, it has a comfy api based on hooks