higgsboz
higgsboz
TTCTheo's Typesafe Cult
Created by higgsboz on 1/20/2023 in #questions
Should React-Query only be used for APIs and not other async operations?
I'm working on a project involving connecting to a bluetooth device, which is an async process. I've opted to use react query to get the same state management that I'd expect from an API call, but I'm getting some pushback from the other devs on my team saying it should just be used for API management. Curious what everyone else's thoughts were because I always operated under the thought that react-query is state management for anything async, not just APIs
3 replies