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:
https://youtube.com/playlist?list=PL0Zuz27SZ-6PrE9srvEn8nbhOOyxnWXfp

After completing this tutorial, go to the refactor tutorial with React Router version 6:
https://youtu.be/XBRLVRjZ3CQ

Source Code: https://github.com/gitdagray/learn_react_router

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-server

ES7 React JS Snippets Extension for VS Code:
https://marketplace.visualstudio.com/items?itemName=dsznajder.es7-react-js-snippets

React Dev Tools Extension for Chrome:
https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi

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

References:
ReactJS Official site: https://reactjs.org/
React Wikipedia: https://en.wikipedia.org/wiki/React_(JavaScript_library)
React Jobs: https://www.ziprecruiter.com/candidate/search?search=react&location=

Follow Me:
Twitter: https://twitter.com/yesdavidgray
LinkedIn: https://www.linkedin.com/in/davidagray/
Blog: https://yesdavidgray.com
Reddit: https://www.reddit.com/user/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