# name: React useState
# key: useState
# contributor: Ade Attwood <code@adeattwood.co.uk>
# filetypes: javascriptreact,typescriptreact
# --
const [${1:state}, set${1/(.*)/${1:/capitalize}/}] = React.useState($2);$0
