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

Readme update for hooks #9

Closed
jferragut opened this issue Sep 27, 2019 · 2 comments
Closed

Readme update for hooks #9

jferragut opened this issue Sep 27, 2019 · 2 comments

Comments

@jferragut
Copy link
Contributor

Need to update the readme.md to reflect the changes in the most recent pull request.

  • Context.Provider and Context.Consumer have been destructured for ease of use and are now imported as Provider and Consumer
  • All Components were changed to Functions to support the use of hooks
  • Actions and store work the same, but we changed the way appContext.js works
    • instead of class component, we are using function
    • constructor and state replaced by useState() hook
    • componentDidMount() was replaced by useEffect({},[]) which will only run at mount thanks to the second parameter
@jferragut
Copy link
Contributor Author

@alesanchezr since we are going into Hacktoberfest, we can tag the repo for this boilerplate and also label this issue as a good first issue.

@timrodz
Copy link
Contributor

timrodz commented Sep 30, 2019

Hey! Happy to take this on 😊

timrodz added a commit to timrodz/react-hello-webapp that referenced this issue Oct 1, 2019
JimenaEB pushed a commit to AlmuUve/HuMind-final-project that referenced this issue Mar 8, 2021
devkeith7 added a commit to devkeith7/react-flask-hello that referenced this issue Dec 2, 2022
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