add React Query and hook up to existing functionality (#1358)
* add React Query and hook up to existing functionality * wire in remote data, add error message * remove hard-coded feeds * oops fix logic * add loading state * fix loading on mobile --------- Co-authored-by: Eric Bailey <git@esb.lol>
This commit is contained in:
parent
84b7edd9db
commit
188d4893f9
8 changed files with 108 additions and 153 deletions
3
src/lib/react-query.ts
Normal file
3
src/lib/react-query.ts
Normal file
|
@ -0,0 +1,3 @@
|
|||
import {QueryClient} from '@tanstack/react-query'
|
||||
|
||||
export const queryClient = new QueryClient()
|
Loading…
Add table
Add a link
Reference in a new issue