T
TanStack3y ago
foreign-sapphire

Syncing data with React Query

Hi guys, we are switching from a local realmjs database base to a more cache based solution. We want to use react-query bcs of previous experience. Only thing is we need to keep users/teams in sync in a global place like redux, normally i would make a sync function and let axios do the job. Is there a good way to do this with react-query, maybe fetch-query? or is this a oversight and not neccary. The reason we want to do this is bcs all lists/tables will be paginated ifinity scroll (react-query) but a item in the table can be based on a user/team, each client only has 10/20 users/teams max.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?