(configOrStore: any, separateFn: any)
| 36 | } |
| 37 | /** useStoreMap wrapper for scopes */ |
| 38 | export function useStoreMap(configOrStore: any, separateFn: any) { |
| 39 | const scope = getScope(true) |
| 40 | if (separateFn) return useStoreMapBase([configOrStore, separateFn], scope) |
| 41 | return useStoreMapBase( |
| 42 | [ |
| 43 | { |
| 44 | store: configOrStore.store, |
| 45 | keys: configOrStore.keys, |
| 46 | fn: configOrStore.fn, |
| 47 | updateFilter: configOrStore.updateFilter, |
| 48 | }, |
| 49 | ], |
| 50 | scope, |
| 51 | ) |
| 52 | } |
searching dependent graphs…