Join Shaun Wassell for an in-depth discussion in this video Adding React hooks, part of React: Creating and Hosting a Full-Stack Site.
- [Teacher] Now that we know the basic syntax of … the fetch function and have the polyfills set up. … Lets look at how to load data into our article pages … from the server. … When we navigate to one of the article pages on our blog, … we want our front end to automatically query the server … and display the comments and number help votes … that the article has. … Now there are a few new concepts … that we're going to introduce here, … that together will allow us to implement this functionality. … The first thing we're going to have to do is add state … to our components. … Currently our components don't have any form of memeory, … they simply return some JSX depending on … the props that we pass into them. … What state gives us is a place to … temporarily store information, … for example information that we've loaded from our server. … Now as a version 16.8, React has provided us with … a new of adding state to our components, … without using the class notation that you might of seen. …
- Creating the app component
- Using React-Router links
- Setting up an Express server
- Route parameters in Express
- Adding the comments functionality
- Installing and adding MongoDB to your project
- Rewriting the endpoints
- Adding React hooks
- Adding buttons and forms
- Pushing code to GitHub
- Running a full-stack app on AWS
Skill Level Intermediate
1. Creating a React Front End
2. Creating a Node Back End
3. Setting Up MongoDB
4. Connecting the Front and Back Ends
5. Hosting the Site
Next steps1m 17s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.