We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
const value = useStoreMap({ shape: { a: $a, b: $b, c: $c }, // ! now param name is "store", proposal - rename to "shape" or "units" keys, fn });
useShapeMap
useUnitMap
useUnitMemo
now, we need a combined store for this cases: // model.ts
import { combine } from "effector"; export const $combined = combine({ a: $a, b: $b, c: $c })
// Component.tsx
import {$combined} from "./model.ts"; ... const value = useStoreMap({ store: $combined, keys, fn });
The text was updated successfully, but these errors were encountered:
I suppose we don't need to rename the whole hook:
const value = useStoreMap({ source: { a: $a, b: $b, c: $c }, // Just rename the parameter. Or don't rename anything keys, fn });
Sorry, something went wrong.
No branches or pull requests
Proposal
useShapeMap
oruseUnitMap
оruseUnitMemo
?Use case
now, we need a combined store for this cases:
// model.ts
// Component.tsx
The text was updated successfully, but these errors were encountered: