manifold/web/lib/firebase
James Grugett 996b4795ea
Cache user bets tab with react query!! (#813)
* Convert useUserBets to react query

* Fix duplicate key warnings

* Fix react-query workaround to use refetchOnMount: always'

* Use react query for portfolio history

* Fix useUserBet workaround

* Script to back fill unique bettors in all contracts

* React query for user bet contracts, using uniqueBettorsId!

* Prefetch user bets / portfolio data
2022-08-28 18:03:00 -05:00
..
answers.ts More absolute imports (#156) 2022-05-09 09:04:36 -04:00
api.ts Challenge Bets (#679) 2022-08-04 15:27:02 -06:00
auth.ts Revert "Revert "Fix a bug with expiration of refresh and custom tokens"" 2022-08-07 09:57:18 -07:00
bets.ts Cache user bets tab with react query!! (#813) 2022-08-28 18:03:00 -05:00
challenges.ts Create challenge without previous market (#718) 2022-08-18 08:15:20 -06:00
comments.ts Create and use new usePagination hook for paginating loading (#769) 2022-08-26 20:18:08 -07:00
contracts.ts Cache user bets tab with react query!! (#813) 2022-08-28 18:03:00 -05:00
groups.ts Groups contracts (#709) 2022-08-01 21:15:09 -06:00
init.ts Move getStorage() into init.ts after initializeApp() is called. 2022-07-14 11:44:52 -05:00
liquidity.ts Liquidity withdrawal (#457) 2022-06-08 13:00:49 -05:00
manalinks.ts Add Firebase schema collection helpers (kind of an RFC) (#583) 2022-06-29 12:21:40 -07:00
notifications.ts React-query-ify notifications (#812) 2022-08-28 15:20:21 -05:00
server-auth.ts Revamp a lot of stuff on the user page to make it usably efficient (#751) 2022-08-12 20:42:58 -07:00
stats.ts Compute stats in Firebase instead of Vercel (#584) 2022-06-26 14:42:42 -07:00
storage.ts Add cache headers to avatars (#737) 2022-08-10 11:03:55 -07:00
tracking.ts Make a React context to be the source of truth for authenticated user (#675) 2022-07-21 00:38:26 -07:00
txns.ts Enable tipping on group chats w/ notif (#629) 2022-07-07 17:23:13 -06:00
users.ts Cache user bets tab with react query!! (#813) 2022-08-28 18:03:00 -05:00
utils.ts Add Firebase schema collection helpers (kind of an RFC) (#583) 2022-06-29 12:21:40 -07:00