Select store based on props (does it makes sense at all? 🤔) #20
AlexandrHoroshih
started this conversation in
Ideas
Replies: 1 comment
-
Are there any cases that are impossible or very difficult (with a lot of boilerplate code) to solve otherwise? I would offer to show how the implementation of such a component would look like without this functionality, for clarity The main reason useStore supports this is because of the inevitable dynamism of react itself, which forces it to support this functionality because useStore is called from within a component |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does it make sense to have dynamic store selector? 🤔
Like this:
effector-react
supports dynamic store selection like that and sometimes people from effector community do use this option, so, maybe, it makes sense to have similiar feature in effector-reflectBeta Was this translation helpful? Give feedback.
All reactions