React Router Hooks and Links | React JS Beginner Project

Опубликовано: 27 Июль 2021
на канале: Dave Gray
17,297
487

Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap

In this tutorial, we will apply React Router hooks and links as we complete the React JS beginner project we began in the first React Router tutorial. This tutorial is part of a Learn React series. The link to the full playlist is below.

🚩 Subscribe ➜ https://bit.ly/3nGHmNn

🚀 This lesson is part of a Learn React tutorial series playlist:
   • React Tutorials  

After completing this tutorial, go to the refactor tutorial with React Router version 6:
   • React Router v6 in 20 Minutes | RRv6 ...  

🔗 Source Code: https://github.com/gitdagray/learn_re...

React Router Hooks and Links | React JS Beginner Project

(00:00) Intro
(00:05) Welcome
(00:15) Quick Objectives
(00:58) Applying CSS to the project
(01:58) Header component
(02:46) Nav component and React Router Links
(07:13) Adding search state
(07:54) Adding post state and starter post data
(08:48) Adding search results state
(09:13) Passing props to Nav component
(09:36) Home component
(12:41) Feed component
(13:50) Post component
(17:54) PostPage component and useParams hook
(25:00) handleDelete function and useHistory hook
(27:10) NewPost component
(33:50) handleSubmit function and date-fns package
(39:16) Adding search functionality with useEffect and filter
(43:52) Correcting a handleSubmit function error
(44:56) Missing component / 404 page
(46:42) Footer component
(47:46) About component

🔗 React Router:
https://reactrouter.com

🔗 JSON-Server:
https://www.npmjs.com/package/json-se...

🔗 ES7 React JS Snippets Extension for VS Code:
https://marketplace.visualstudio.com/...

🔗 React Dev Tools Extension for Chrome:
https://chrome.google.com/webstore/de...

🔗 Styled Components: https://styled-components.com/

📚 References:
ReactJS Official site: https://reactjs.org/
React Wikipedia: https://en.wikipedia.org/wiki/React_(...)
React Jobs: https://www.ziprecruiter.com/candidat...

✅ Follow Me:
Twitter:   / yesdavidgray  
LinkedIn:   / davidagray  
Blog: https://yesdavidgray.com
Reddit:   / daveoneleven  

Was this tutorial about React Router hooks and links helpful? If so, please share. Let me know your thoughts in the comments.

#react #router #hooks


Смотрите видео React Router Hooks and Links | React JS Beginner Project онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Dave Gray 27 Июль 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 17,297 раз и оно понравилось 487 людям.