Documentation on Typescript bounded useStore missing selector reference #2693
Unanswered
ampossardt
asked this question in
Bug report
Replies: 1 comment
-
Nice catch! Can you send a PR please? |
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
-
Bug Description
I'm currently using the typescript documentation to build some specific stores out, and noticed that the function for creating a generic bounded useStore for vanilla stores doesn't copy the selector into the
useStore
call which results in the whole store being returned.The first line of this code:
should be this:
Reproduction Link
Documentation link
Beta Was this translation helpful? Give feedback.
All reactions