effector / effector/effector

Make `shape` instead of `store` parameter in useStoreMap

Open
#815 1 comment 0 reactions 0 assignees View on GitHub
RFC
Dominant language
TypeScript
Stars
4.9k
Forks
280
Avg merge
2d 6h
Merged PRs (30d)
7

Description

## Proposal

```ts
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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.