We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e632b7 commit 5380016Copy full SHA for 5380016
snippets/snippets.json
@@ -1460,6 +1460,18 @@
1460
"}, [${3:input}])"
1461
]
1462
},
1463
+ "useSelector": {
1464
+ "prefix": "useSelector",
1465
+ "body": [
1466
+ "const ${1:state} = useSelector(state => state.${1:state})"
1467
+ ]
1468
+ },
1469
+ "useDispatch": {
1470
+ "prefix": "useDispatch",
1471
1472
+ "const dispatch = useDispatch(${1:function})"
1473
1474
1475
"typeof": {
1476
"prefix": "tpf",
1477
"body": ["typeof ${0}"]
0 commit comments