mind-foundation / ascstudymonitor

The ASC Study Monitor is a curated, freely accessible, and regularly updated database of scholarly publications concerning altered states of consciousness.
https://asc-studymonitor.mind-foundation.org
9 stars 3 forks source link

Prevent "loading..." message in the filter sidebar #37

Closed membranepotential closed 4 years ago

membranepotential commented 4 years ago

A couple options for this:

I already tried putting summary in the store, but it violates the single source of truth principle and brings a whole lot of other issues with it, so i left it untouched for now.

Vuex docs say that getters are cached internally, but couldn't find a way to put the cache in localforage.

Interestingly, if we put the whole Vuex store in localforage (including the current route, which is bad), then it seems to not load every time.