How to implement Algolia with react-query
Is there a way I can separate my query state and render my SearchResults component in another component that isn't my Search component?
2 Replies
sunny-green•2y ago
Yes. State management like redux, Zustand etc
Or sync to the url
exotic-emerald•2y ago
or hoist the state I suppose