Skip to content

Conversation

hermawan22
Copy link

adding snippet for getInitialState in es2015 with constructor in class.

@IanVS
Copy link
Contributor

IanVS commented Mar 16, 2016

I'd love to have this snippet. Not sure I'm in love with the prefix though. Would is6 (initial state ES6) or something like that work here? That seems to be more in line with the acronyms used throughout the other snippets.

@orktes
Copy link
Owner

orktes commented Mar 17, 2016

Hi! Thanks for contributing! I agree with @IanVS that a different prefix would be in order.

@hermawan22
Copy link
Author

Thanks for the response, i'll change the prefix with is6. :)

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

Successfully merging this pull request may close these issues.

3 participants