-
Notifications
You must be signed in to change notification settings - Fork 446
feature/improve-use-state-snippet #58
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
feature/improve-use-state-snippet #58
Conversation
Improve the UseState snippet, to a better DX. Was fixed some duplicated keys too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you use to make arrays multiple lines? I have a prettier which after save forces one-liners with most of those you've changed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I just use the VSCode inner formatter :)
Enable on settings, "FormatOnSave"
Improve the UseState snippet, to a better DX.
Was fixed some duplicated keys too.
PS: Some indentation was with tabs among the spaces, was fixed too.