effector
effector copied to clipboard
Make `shape` instead of `store` parameter in useStoreMap
Proposal
const data = useStoreMap({
shape: [$a, $b], // ! now: `store: combine([$a, $b])`
keys: deps,
fn: ([a, b], deps) => ...
});
https://t.me/effector_ru/279338
Use case
sometimes you need more than one store in useStoreMap hook
I assume it would be better to support shapes in store field instead of renaming it for this case 🤔