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

Use functional components #15

Open
oliverjam opened this issue May 25, 2018 · 0 comments
Open

Use functional components #15

oliverjam opened this issue May 25, 2018 · 0 comments

Comments

@oliverjam
Copy link

It's a bit simpler to write functional/stateless components if you don't need to use state or lifecycle methods. For example your photogroup and singlephoto components don't need to be classes.

jennah2121 added a commit that referenced this issue May 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants