Open dylanphantixr opened 6 days ago
{ "name": "useState", "body": "const [{{expr}}, set{{expr:uppercase}}] = React.useState();", "when": [] }
Starting from your capitalize example, I changed capitalize to uppercase, and it doesn't work. It results in:
const [myState, set{{expr:uppercase}}] = React.useState();
lowercase doesn't work either
Oh I see in the code that it's lower and upper, not lowercase and uppercase. Might be good to update the readme/docs.
lower
upper
Good catch, fixed it in the README, thanks!
Starting from your capitalize example, I changed capitalize to uppercase, and it doesn't work. It results in:
lowercase doesn't work either