Created
June 16, 2022 15:45
-
-
Save cyrus01337/022bf7c21708c2287e503510ba4ab732 to your computer and use it in GitHub Desktop.
Zustand useStore snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
"useStore Hook": { | |
"scope": "javascript,typescript,javascriptreact", | |
"prefix": ["use", "usestore"], | |
"body": [ | |
"let ${0:slice} = useStore(state => state.${0:slice});" | |
] | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment