Skip to content

Proposal: Use React Hooks? #373

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants