
Migrating to React Query from Redux with Pierre Hedkvist - 202
React Round Up
 00:00 
How to Store State in the URL
A recent article is kind of interesting about storing state in the URL. So it's essentially what we created was a custom hook that functions similarly to a use state hook, but then it also synchronize the state with the URL. We made like a React hook basically that will synchronize between the URL, like the query parameters that's in the URL with a state. And so there are some things you have to think of there, like synchronizing the kind of key and value with the state and the URL.
 Play episode from 01:41 
 Transcript 


