You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is trouble retrieving items from clientside storage because ydn-db and IndexedDB are asynchronous. When initializing a DBAtom, the items from clientside storage need to be fetched and reset as the value of the DBAtom. Because the clientside lookup is asynchronous, we hit a race condition and the DBAtom stays nil.
Same issue as greenyouse/ydn-cljs#1
There is trouble retrieving items from clientside storage because ydn-db and IndexedDB are asynchronous. When initializing a DBAtom, the items from clientside storage need to be fetched and reset as the value of the DBAtom. Because the clientside lookup is asynchronous, we hit a race condition and the DBAtom stays nil.
(I'm aware that https://github.com/greenyouse/pldb-cache/blob/master/src/pldb_cache/core.cljs#L139 is really dumb. It was just where I decided to give up after trying it a bunch of different ways 😦 )
The text was updated successfully, but these errors were encountered: