forked from cybrespace/pinafore
18 lines
456 B
JavaScript
18 lines
456 B
JavaScript
import { RealmStore } from '../../_utils/RealmStore'
|
|
|
|
class PseudoVirtualListStore extends RealmStore {
|
|
constructor (state) {
|
|
super(state, /* maxSize */ 10)
|
|
}
|
|
}
|
|
|
|
const pseudoVirtualListStore = new PseudoVirtualListStore()
|
|
|
|
pseudoVirtualListStore.computeForRealm('intersectionStates', {})
|
|
|
|
if (process.browser && process.env.NODE_NODE !== 'production') {
|
|
window.pseudoVirtualListStore = pseudoVirtualListStore
|
|
}
|
|
|
|
export { pseudoVirtualListStore }
|