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

Proposal: Use React Hooks? #373

Open
trivikr opened this issue Jul 29, 2019 · 3 comments
Open

Proposal: Use React Hooks? #373

trivikr opened this issue Jul 29, 2019 · 3 comments

Comments

@trivikr
Copy link
Contributor

trivikr commented Jul 29, 2019

Hi,

First of all, a big thank you to authors and maintainers for creating this tutorial.

React introduced Hooks in v16.8 in Feb 2019, which allows usage of state and other React features without a class. Most developers seem to be happy with using Hooks (rfc, implementation)

Are there any plans to switch this tutorial from using classes to Hooks?

Regards,
Trivikram

@jayair
Copy link
Contributor

jayair commented Aug 3, 2019

Yup our next major revision will be using Hooks.

@trivikr
Copy link
Contributor Author

trivikr commented Sep 18, 2019

We've built aws-samples/aws-sdk-js-v3-workshop as a modified version of demo code from serverless-stack, and are using React Hooks

@boxabirds
Copy link
Contributor

This is immensely cool, thanks! Hooks make the code so much simpler and opens the way to a whole other level of good design practices.

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

3 participants