1
0
mirror of https://github.com/nolanlawson/pinafore synced 2025-01-31 14:04:50 +01:00
2018-01-30 21:55:23 -08:00

17 lines
454 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 }