Skip to content
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

Default State #2

Open
josephgupkim opened this issue Oct 27, 2017 · 0 comments
Open

Default State #2

josephgupkim opened this issue Oct 27, 2017 · 0 comments

Comments

@josephgupkim
Copy link

You're the first student where I have seen a default state being written.
It's also interesting that you stated it as a const when React components can have a state for themselves.
Although it's not "incorrect" it would've been great to see an explanation as to why you implemented this!

https://github.com/andelizondo/jammming/blob/master/src/Components/App/App.js#L8-L13

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