11dcaf0cf3
* start on removing pseudo virtual list * rename, refactor * remove unused file * fix the tests * actually fix tests * okay actually fix tests
18 lines
364 B
JavaScript
18 lines
364 B
JavaScript
import { RealmStore } from '../../_utils/RealmStore'
|
|
|
|
class ListStore extends RealmStore {
|
|
constructor (state) {
|
|
super(state, /* maxSize */ 10)
|
|
}
|
|
}
|
|
|
|
const listStore = new ListStore()
|
|
|
|
listStore.computeForRealm('intersectionStates', {})
|
|
|
|
if (process.browser && process.env.NODE_ENV !== 'production') {
|
|
window.listStore = listStore
|
|
}
|
|
|
|
export { listStore }
|