Skip to content

support camel case #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
joelstransky opened this issue Apr 11, 2019 · 1 comment
Open

support camel case #6

joelstransky opened this issue Apr 11, 2019 · 1 comment

Comments

@joelstransky
Copy link

Maybe using Variable Transforms you can ensure that the callback is camel cased.

const [filter, setFilter] = setState()

https://code.visualstudio.com/docs/editor/userdefinedsnippets#_variable-transforms

@joelstransky
Copy link
Author

I just checked the source and see that you use capitalize but it seems to be changed to upcase in the api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant