Skip to content

Support React 0.14 and Components as Functions #8

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

Closed
joshblack opened this issue Oct 17, 2015 · 1 comment
Closed

Support React 0.14 and Components as Functions #8

joshblack opened this issue Oct 17, 2015 · 1 comment

Comments

@joshblack
Copy link

Was looking through the workshop resources and was curious about the possibility of introducing components as just functions. May be a useful path into introducing the idea of composition and showing how much you are able to accomplish with this model without having to use classes for managing state.

@mjackson
Copy link
Member

Thanks for the feedback, @joshblack. We upgraded this repo to React 0.14 and are now using plain functions for the first couple of examples we do. It's a great way to simplify getting into React for the first time.

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

No branches or pull requests

2 participants