feat: in-memory fallback for storing user profiles #110

Merged
verbiricha merged 17 commits from dbfix into main 2023-01-27 21:38:42 +00:00

17 Commits

Author SHA1 Message Date
Alejandro Gomez
beeb6e6c8b
Merge branch 'main' into dbfix 2023-01-27 22:30:42 +01:00
Alejandro Gomez
59878776d5
fix: wrap db in fn call 2023-01-27 10:03:39 +01:00
Alejandro Gomez
f407708cfe
fix: use dummy db to test for indexeddb availability 2023-01-25 18:01:21 +01:00
Alejandro Gomez
78aa655e86
Merge branch 'main' into dbfix 2023-01-25 17:59:25 +01:00
Alejandro Gomez
7a9cf931c8
fix: merge conflict 2023-01-25 10:37:54 +01:00
Alejandro
e56031411d
Merge branch 'main' into dbfix 2023-01-25 07:51:09 +01:00
Alejandro Gomez
3a14b775b7
revert not using redux 2023-01-23 16:14:31 +01:00
Alejandro Gomez
7a937bc4c9
fix: directly get user without useLiveQuery 2023-01-23 16:09:02 +01:00
Alejandro Gomez
3dce87ce3a
fix: don't use redux for users 2023-01-23 16:04:51 +01:00
Alejandro Gomez
9e4014e0ac
fix: return key when available for in-memory db 2023-01-23 14:16:11 +01:00
Alejandro Gomez
e617a3798e
fix: correctly detect indexed db 2023-01-23 14:05:23 +01:00
Alejandro Gomez
b5f5f33a78
fix: use db instead of indexedDb 2023-01-23 13:47:08 +01:00
Alejandro Gomez
e08855d9c0
fix: typo 2023-01-23 13:41:58 +01:00
Alejandro Gomez
186cdbeadd
fix: remove promise from isAvailable 2023-01-23 13:41:08 +01:00
Alejandro Gomez
71e92db24c
refactor: extract users db to an interface 2023-01-23 13:36:14 +01:00
Alejandro Gomez
5a065bf7ba
extract hooks 2023-01-22 08:50:48 +01:00
Alejandro Gomez
a8348597e2
wip: In-memory fallback for user state 2023-01-22 08:50:45 +01:00