├── .DS_Store ├── Chapter01 ├── Chapter01_1 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.css │ │ ├── App.jsx │ │ ├── assets │ │ │ └── react.svg │ │ ├── index.css │ │ └── main.jsx │ └── vite.config.js ├── Chapter01_2 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.jsx │ │ └── main.jsx │ └── vite.config.js └── Chapter01_3 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── public │ └── vite.svg │ ├── src │ ├── App.jsx │ └── main.jsx │ └── vite.config.js ├── Chapter02 ├── Chapter02_1 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.jsx │ │ └── main.jsx │ └── vite.config.js ├── Chapter02_2 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.jsx │ │ └── main.jsx │ └── vite.config.js └── Chapter02_3 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── public │ └── vite.svg │ ├── src │ ├── App.jsx │ └── main.jsx │ └── vite.config.js ├── Chapter03 ├── Chapter03_1 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.jsx │ │ ├── main.jsx │ │ ├── post │ │ │ ├── CreatePost.jsx │ │ │ ├── Post.jsx │ │ │ └── PostList.jsx │ │ └── user │ │ │ ├── Login.jsx │ │ │ ├── Logout.jsx │ │ │ ├── Register.jsx │ │ │ └── UserBar.jsx │ └── vite.config.js └── Chapter03_2 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── public │ └── vite.svg │ ├── src │ ├── App.jsx │ ├── main.jsx │ ├── post │ │ ├── CreatePost.jsx │ │ ├── Post.jsx │ │ └── PostList.jsx │ └── user │ │ ├── Login.jsx │ │ ├── Logout.jsx │ │ ├── Register.jsx │ │ └── UserBar.jsx │ └── vite.config.js ├── Chapter04 ├── Chapter04_1 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.jsx │ │ ├── main.jsx │ │ ├── post │ │ │ ├── CreatePost.jsx │ │ │ ├── Post.jsx │ │ │ └── PostList.jsx │ │ ├── reducers.js │ │ └── user │ │ │ ├── Login.jsx │ │ │ ├── Logout.jsx │ │ │ ├── Register.jsx │ │ │ └── UserBar.jsx │ └── vite.config.js └── Chapter04_2 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── public │ └── vite.svg │ ├── src │ ├── App.jsx │ ├── main.jsx │ ├── post │ │ ├── CreatePost.jsx │ │ ├── Post.jsx │ │ └── PostList.jsx │ ├── reducers.js │ └── user │ │ ├── Login.jsx │ │ ├── Logout.jsx │ │ ├── Register.jsx │ │ └── UserBar.jsx │ └── vite.config.js ├── Chapter05 ├── Chapter05_1 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.jsx │ │ ├── components │ │ │ ├── post │ │ │ │ ├── CreatePost.jsx │ │ │ │ ├── Post.jsx │ │ │ │ └── PostList.jsx │ │ │ └── user │ │ │ │ ├── Login.jsx │ │ │ │ ├── Logout.jsx │ │ │ │ ├── Register.jsx │ │ │ │ └── UserBar.jsx │ │ ├── contexts │ │ │ └── ThemeContext.js │ │ ├── main.jsx │ │ └── reducers.js │ └── vite.config.js └── Chapter05_2 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ └── vite.svg │ ├── src │ ├── App.jsx │ ├── components │ │ ├── post │ │ │ ├── CreatePost.jsx │ │ │ ├── Post.jsx │ │ │ └── PostList.jsx │ │ └── user │ │ │ ├── Login.jsx │ │ │ ├── Logout.jsx │ │ │ ├── Register.jsx │ │ │ └── UserBar.jsx │ ├── contexts │ │ ├── ThemeContext.js │ │ └── UserContext.js │ ├── main.jsx │ └── reducers.js │ └── vite.config.js ├── Chapter06 ├── Chapter06_1 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── server │ │ └── db.json │ ├── src │ │ ├── App.jsx │ │ ├── components │ │ │ ├── post │ │ │ │ ├── CreatePost.jsx │ │ │ │ ├── Post.jsx │ │ │ │ └── PostList.jsx │ │ │ └── user │ │ │ │ ├── Login.jsx │ │ │ │ ├── Logout.jsx │ │ │ │ ├── Register.jsx │ │ │ │ └── UserBar.jsx │ │ ├── contexts │ │ │ ├── ThemeContext.js │ │ │ └── UserContext.js │ │ ├── main.jsx │ │ └── reducers.js │ └── vite.config.js ├── Chapter06_2 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── server │ │ └── db.json │ ├── src │ │ ├── App.jsx │ │ ├── components │ │ │ ├── post │ │ │ │ ├── CreatePost.jsx │ │ │ │ ├── Post.jsx │ │ │ │ └── PostList.jsx │ │ │ └── user │ │ │ │ ├── Login.jsx │ │ │ │ ├── Logout.jsx │ │ │ │ ├── Register.jsx │ │ │ │ └── UserBar.jsx │ │ ├── contexts │ │ │ ├── ThemeContext.js │ │ │ └── UserContext.js │ │ ├── main.jsx │ │ └── reducers.js │ └── vite.config.js ├── Chapter06_3 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── server │ │ └── db.json │ ├── src │ │ ├── App.jsx │ │ ├── api.js │ │ ├── components │ │ │ ├── post │ │ │ │ ├── CreatePost.jsx │ │ │ │ ├── Post.jsx │ │ │ │ ├── PostFeed.jsx │ │ │ │ └── PostList.jsx │ │ │ └── user │ │ │ │ ├── Login.jsx │ │ │ │ ├── Logout.jsx │ │ │ │ ├── Register.jsx │ │ │ │ └── UserBar.jsx │ │ ├── contexts │ │ │ ├── ThemeContext.js │ │ │ └── UserContext.js │ │ ├── main.jsx │ │ └── reducers.js │ └── vite.config.js └── Chapter06_4 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ └── vite.svg │ ├── server │ └── db.json │ ├── src │ ├── App.jsx │ ├── FetchErrorNotice.jsx │ ├── api.js │ ├── components │ │ ├── post │ │ │ ├── CreatePost.jsx │ │ │ ├── Post.jsx │ │ │ ├── PostFeed.jsx │ │ │ └── PostList.jsx │ │ └── user │ │ │ ├── Login.jsx │ │ │ ├── Logout.jsx │ │ │ ├── Register.jsx │ │ │ └── UserBar.jsx │ ├── contexts │ │ ├── ThemeContext.js │ │ └── UserContext.js │ ├── main.jsx │ └── reducers.js │ └── vite.config.js ├── Chapter07 ├── Chapter07_1 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── server │ │ └── db.json │ ├── src │ │ ├── App.jsx │ │ ├── FetchErrorNotice.jsx │ │ ├── api.js │ │ ├── components │ │ │ ├── post │ │ │ │ ├── CreatePost.jsx │ │ │ │ ├── Post.jsx │ │ │ │ ├── PostFeed.jsx │ │ │ │ └── PostList.jsx │ │ │ └── user │ │ │ │ ├── Login.jsx │ │ │ │ ├── Logout.jsx │ │ │ │ ├── Register.jsx │ │ │ │ └── UserBar.jsx │ │ ├── contexts │ │ │ ├── ThemeContext.js │ │ │ └── UserContext.js │ │ ├── main.jsx │ │ └── reducers.js │ └── vite.config.js ├── Chapter07_2 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── server │ │ └── db.json │ ├── src │ │ ├── App.jsx │ │ ├── FetchErrorNotice.jsx │ │ ├── api.js │ │ ├── components │ │ │ ├── comment │ │ │ │ ├── Comment.jsx │ │ │ │ ├── CommentList.jsx │ │ │ │ └── CommentSection.jsx │ │ │ ├── post │ │ │ │ ├── CreatePost.jsx │ │ │ │ ├── Post.jsx │ │ │ │ ├── PostFeed.jsx │ │ │ │ └── PostList.jsx │ │ │ └── user │ │ │ │ ├── Login.jsx │ │ │ │ ├── Logout.jsx │ │ │ │ ├── Register.jsx │ │ │ │ └── UserBar.jsx │ │ ├── contexts │ │ │ ├── ThemeContext.js │ │ │ └── UserContext.js │ │ ├── main.jsx │ │ └── reducers.js │ └── vite.config.js ├── Chapter07_3 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── server │ │ └── db.json │ ├── src │ │ ├── App.jsx │ │ ├── FetchErrorNotice.jsx │ │ ├── api.js │ │ ├── components │ │ │ ├── comment │ │ │ │ ├── Comment.jsx │ │ │ │ ├── CommentList.jsx │ │ │ │ └── CommentSection.jsx │ │ │ ├── post │ │ │ │ ├── CreatePost.jsx │ │ │ │ ├── Post.jsx │ │ │ │ ├── PostFeed.jsx │ │ │ │ └── PostList.jsx │ │ │ └── user │ │ │ │ ├── Login.jsx │ │ │ │ ├── Logout.jsx │ │ │ │ ├── Register.jsx │ │ │ │ └── UserBar.jsx │ │ ├── contexts │ │ │ ├── ThemeContext.js │ │ │ └── UserContext.js │ │ ├── main.jsx │ │ └── reducers.js │ └── vite.config.js └── Chapter07_4 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ └── vite.svg │ ├── server │ └── db.json │ ├── src │ ├── App.jsx │ ├── FetchErrorNotice.jsx │ ├── api.js │ ├── components │ │ ├── comment │ │ │ ├── Comment.jsx │ │ │ ├── CommentList.jsx │ │ │ ├── CommentSection.jsx │ │ │ └── CreateComment.jsx │ │ ├── post │ │ │ ├── CreatePost.jsx │ │ │ ├── Post.jsx │ │ │ ├── PostFeed.jsx │ │ │ └── PostList.jsx │ │ └── user │ │ │ ├── Login.jsx │ │ │ ├── Logout.jsx │ │ │ ├── Register.jsx │ │ │ └── UserBar.jsx │ ├── contexts │ │ ├── ThemeContext.js │ │ └── UserContext.js │ ├── main.jsx │ └── reducers.js │ └── vite.config.js ├── Chapter08 ├── Chapter08_1 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── server │ │ └── db.json │ ├── src │ │ ├── App.jsx │ │ ├── FetchErrorNotice.jsx │ │ ├── api.js │ │ ├── components │ │ │ ├── comment │ │ │ │ ├── Comment.jsx │ │ │ │ ├── CommentList.jsx │ │ │ │ ├── CommentSection.jsx │ │ │ │ └── CreateComment.jsx │ │ │ ├── post │ │ │ │ ├── CreatePost.jsx │ │ │ │ ├── Post.jsx │ │ │ │ ├── PostFeed.jsx │ │ │ │ └── PostList.jsx │ │ │ └── user │ │ │ │ ├── Login.jsx │ │ │ │ ├── Logout.jsx │ │ │ │ ├── Register.jsx │ │ │ │ └── UserBar.jsx │ │ ├── contexts │ │ │ ├── ThemeContext.js │ │ │ └── UserContext.js │ │ ├── main.jsx │ │ ├── pages │ │ │ └── Home.jsx │ │ └── reducers.js │ └── vite.config.js └── Chapter08_2 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ └── vite.svg │ ├── server │ └── db.json │ ├── src │ ├── App.jsx │ ├── FetchErrorNotice.jsx │ ├── api.js │ ├── components │ │ ├── NavBarLink.jsx │ │ ├── comment │ │ │ ├── Comment.jsx │ │ │ ├── CommentList.jsx │ │ │ ├── CommentSection.jsx │ │ │ └── CreateComment.jsx │ │ ├── post │ │ │ ├── CreatePost.jsx │ │ │ ├── Post.jsx │ │ │ ├── PostFeed.jsx │ │ │ ├── PostList.jsx │ │ │ └── PostListItem.jsx │ │ └── user │ │ │ ├── Login.jsx │ │ │ ├── Logout.jsx │ │ │ ├── Register.jsx │ │ │ └── UserBar.jsx │ ├── contexts │ │ ├── ThemeContext.js │ │ └── UserContext.js │ ├── main.jsx │ ├── pages │ │ ├── Home.jsx │ │ └── ViewPost.jsx │ └── reducers.js │ └── vite.config.js ├── Chapter09 └── Chapter09_1 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ └── vite.svg │ ├── server │ └── db.json │ ├── src │ ├── App.jsx │ ├── FetchErrorNotice.jsx │ ├── api.js │ ├── components │ │ ├── NavBarLink.jsx │ │ ├── comment │ │ │ ├── Comment.jsx │ │ │ ├── CommentList.jsx │ │ │ ├── CommentSection.jsx │ │ │ └── CreateComment.jsx │ │ ├── demo │ │ │ ├── useId │ │ │ │ └── AriaInput.jsx │ │ │ ├── useImperativeHandle │ │ │ │ ├── HighlightFocus.jsx │ │ │ │ └── HighlightFocusInput.jsx │ │ │ ├── useRef │ │ │ │ ├── AutoFocus.jsx │ │ │ │ ├── CustomInput.jsx │ │ │ │ ├── InitialWidthMeasure.jsx │ │ │ │ └── Timer.jsx │ │ │ └── useSyncExternalStore │ │ │ │ └── OnlineIndicator.jsx │ │ ├── post │ │ │ ├── CreatePost.jsx │ │ │ ├── Post.jsx │ │ │ ├── PostFeed.jsx │ │ │ ├── PostList.jsx │ │ │ ├── PostListItem.jsx │ │ │ ├── PostSearch.jsx │ │ │ └── PostSearchResults.jsx │ │ └── user │ │ │ ├── Login.jsx │ │ │ ├── Logout.jsx │ │ │ ├── Register.jsx │ │ │ └── UserBar.jsx │ ├── contexts │ │ ├── ThemeContext.js │ │ └── UserContext.js │ ├── main.jsx │ ├── pages │ │ ├── Demo.jsx │ │ ├── Home.jsx │ │ ├── Search.jsx │ │ └── ViewPost.jsx │ └── reducers.js │ └── vite.config.js ├── Chapter10 ├── Chapter10_1 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── server │ │ └── db.json │ ├── src │ │ ├── App.jsx │ │ ├── FetchErrorNotice.jsx │ │ ├── api.js │ │ ├── components │ │ │ ├── NavBarLink.jsx │ │ │ ├── comment │ │ │ │ ├── Comment.jsx │ │ │ │ ├── CommentList.jsx │ │ │ │ ├── CommentSection.jsx │ │ │ │ └── CreateComment.jsx │ │ │ ├── demo │ │ │ │ ├── useId │ │ │ │ │ └── AriaInput.jsx │ │ │ │ ├── useImperativeHandle │ │ │ │ │ ├── HighlightFocus.jsx │ │ │ │ │ └── HighlightFocusInput.jsx │ │ │ │ ├── useRef │ │ │ │ │ ├── AutoFocus.jsx │ │ │ │ │ ├── CustomInput.jsx │ │ │ │ │ ├── InitialWidthMeasure.jsx │ │ │ │ │ └── Timer.jsx │ │ │ │ └── useSyncExternalStore │ │ │ │ │ └── OnlineIndicator.jsx │ │ │ ├── post │ │ │ │ ├── CreatePost.jsx │ │ │ │ ├── Post.jsx │ │ │ │ ├── PostFeed.jsx │ │ │ │ ├── PostList.jsx │ │ │ │ ├── PostListItem.jsx │ │ │ │ ├── PostSearch.jsx │ │ │ │ └── PostSearchResults.jsx │ │ │ └── user │ │ │ │ ├── Login.jsx │ │ │ │ ├── Logout.jsx │ │ │ │ ├── Register.jsx │ │ │ │ └── UserBar.jsx │ │ ├── contexts │ │ │ └── ThemeContext.js │ │ ├── main.jsx │ │ ├── pages │ │ │ ├── Demo.jsx │ │ │ ├── Home.jsx │ │ │ ├── Search.jsx │ │ │ └── ViewPost.jsx │ │ └── reducers.js │ └── vite.config.js ├── Chapter10_2 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── server │ │ └── db.json │ ├── src │ │ ├── App.jsx │ │ ├── FetchErrorNotice.jsx │ │ ├── api.js │ │ ├── components │ │ │ ├── NavBarLink.jsx │ │ │ ├── comment │ │ │ │ ├── Comment.jsx │ │ │ │ ├── CommentList.jsx │ │ │ │ ├── CommentSection.jsx │ │ │ │ └── CreateComment.jsx │ │ │ ├── demo │ │ │ │ ├── useId │ │ │ │ │ └── AriaInput.jsx │ │ │ │ ├── useImperativeHandle │ │ │ │ │ ├── HighlightFocus.jsx │ │ │ │ │ └── HighlightFocusInput.jsx │ │ │ │ ├── useRef │ │ │ │ │ ├── AutoFocus.jsx │ │ │ │ │ ├── CustomInput.jsx │ │ │ │ │ ├── InitialWidthMeasure.jsx │ │ │ │ │ └── Timer.jsx │ │ │ │ └── useSyncExternalStore │ │ │ │ │ └── OnlineIndicator.jsx │ │ │ ├── post │ │ │ │ ├── CreatePost.jsx │ │ │ │ ├── Post.jsx │ │ │ │ ├── PostFeed.jsx │ │ │ │ ├── PostList.jsx │ │ │ │ ├── PostListItem.jsx │ │ │ │ ├── PostSearch.jsx │ │ │ │ └── PostSearchResults.jsx │ │ │ └── user │ │ │ │ ├── Login.jsx │ │ │ │ ├── Logout.jsx │ │ │ │ ├── Register.jsx │ │ │ │ └── UserBar.jsx │ │ ├── contexts │ │ │ └── ThemeContext.js │ │ ├── main.jsx │ │ ├── pages │ │ │ ├── Demo.jsx │ │ │ ├── Home.jsx │ │ │ ├── Search.jsx │ │ │ └── ViewPost.jsx │ │ └── reducers.js │ └── vite.config.js └── Chapter10_3 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ └── vite.svg │ ├── server │ └── db.json │ ├── src │ ├── App.jsx │ ├── FetchErrorNotice.jsx │ ├── api.js │ ├── components │ │ ├── NavBarLink.jsx │ │ ├── comment │ │ │ ├── Comment.jsx │ │ │ ├── CommentList.jsx │ │ │ ├── CommentSection.jsx │ │ │ └── CreateComment.jsx │ │ ├── demo │ │ │ ├── useId │ │ │ │ └── AriaInput.jsx │ │ │ ├── useImperativeHandle │ │ │ │ ├── HighlightFocus.jsx │ │ │ │ └── HighlightFocusInput.jsx │ │ │ ├── useRef │ │ │ │ ├── AutoFocus.jsx │ │ │ │ ├── CustomInput.jsx │ │ │ │ ├── InitialWidthMeasure.jsx │ │ │ │ └── Timer.jsx │ │ │ └── useSyncExternalStore │ │ │ │ └── OnlineIndicator.jsx │ │ ├── post │ │ │ ├── CopyLink.jsx │ │ │ ├── CreatePost.jsx │ │ │ ├── Post.jsx │ │ │ ├── PostFeed.jsx │ │ │ ├── PostList.jsx │ │ │ ├── PostListItem.jsx │ │ │ ├── PostSearch.jsx │ │ │ └── PostSearchResults.jsx │ │ └── user │ │ │ ├── Login.jsx │ │ │ ├── Logout.jsx │ │ │ ├── Register.jsx │ │ │ └── UserBar.jsx │ ├── contexts │ │ └── ThemeContext.js │ ├── main.jsx │ ├── pages │ │ ├── Demo.jsx │ │ ├── Home.jsx │ │ ├── Search.jsx │ │ └── ViewPost.jsx │ └── reducers.js │ └── vite.config.js ├── Chapter12 ├── Chapter12_1 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── server │ │ └── db.json │ ├── src │ │ ├── App.jsx │ │ ├── FetchErrorNotice.jsx │ │ ├── api.js │ │ ├── components │ │ │ ├── NavBarLink.jsx │ │ │ ├── comment │ │ │ │ ├── Comment.jsx │ │ │ │ ├── CommentList.jsx │ │ │ │ ├── CommentSection.jsx │ │ │ │ └── CreateComment.jsx │ │ │ ├── demo │ │ │ │ ├── useId │ │ │ │ │ └── AriaInput.jsx │ │ │ │ ├── useImperativeHandle │ │ │ │ │ ├── HighlightFocus.jsx │ │ │ │ │ └── HighlightFocusInput.jsx │ │ │ │ ├── useRef │ │ │ │ │ ├── AutoFocus.jsx │ │ │ │ │ ├── CustomInput.jsx │ │ │ │ │ ├── InitialWidthMeasure.jsx │ │ │ │ │ └── Timer.jsx │ │ │ │ └── useSyncExternalStore │ │ │ │ │ └── OnlineIndicator.jsx │ │ │ ├── post │ │ │ │ ├── CopyLink.jsx │ │ │ │ ├── CreatePost.jsx │ │ │ │ ├── Post.jsx │ │ │ │ ├── PostFeed.jsx │ │ │ │ ├── PostList.jsx │ │ │ │ ├── PostListItem.jsx │ │ │ │ ├── PostSearch.jsx │ │ │ │ └── PostSearchResults.jsx │ │ │ └── user │ │ │ │ ├── Login.jsx │ │ │ │ ├── Logout.jsx │ │ │ │ ├── Register.jsx │ │ │ │ └── UserBar.jsx │ │ ├── contexts │ │ │ └── ThemeContext.js │ │ ├── hooks │ │ │ └── theme.js │ │ ├── main.jsx │ │ ├── pages │ │ │ ├── Demo.jsx │ │ │ ├── Home.jsx │ │ │ ├── Search.jsx │ │ │ └── ViewPost.jsx │ │ └── reducers.js │ └── vite.config.js ├── Chapter12_2 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── server │ │ └── db.json │ ├── src │ │ ├── App.jsx │ │ ├── FetchErrorNotice.jsx │ │ ├── api.js │ │ ├── components │ │ │ ├── NavBarLink.jsx │ │ │ ├── comment │ │ │ │ ├── Comment.jsx │ │ │ │ ├── CommentList.jsx │ │ │ │ ├── CommentSection.jsx │ │ │ │ └── CreateComment.jsx │ │ │ ├── demo │ │ │ │ ├── useId │ │ │ │ │ └── AriaInput.jsx │ │ │ │ ├── useImperativeHandle │ │ │ │ │ ├── HighlightFocus.jsx │ │ │ │ │ └── HighlightFocusInput.jsx │ │ │ │ ├── useRef │ │ │ │ │ ├── AutoFocus.jsx │ │ │ │ │ ├── CustomInput.jsx │ │ │ │ │ ├── InitialWidthMeasure.jsx │ │ │ │ │ └── Timer.jsx │ │ │ │ └── useSyncExternalStore │ │ │ │ │ └── OnlineIndicator.jsx │ │ │ ├── post │ │ │ │ ├── CopyLink.jsx │ │ │ │ ├── CreatePost.jsx │ │ │ │ ├── Post.jsx │ │ │ │ ├── PostFeed.jsx │ │ │ │ ├── PostList.jsx │ │ │ │ ├── PostListItem.jsx │ │ │ │ ├── PostSearch.jsx │ │ │ │ └── PostSearchResults.jsx │ │ │ └── user │ │ │ │ ├── Login.jsx │ │ │ │ ├── Logout.jsx │ │ │ │ ├── Register.jsx │ │ │ │ └── UserBar.jsx │ │ ├── contexts │ │ │ └── ThemeContext.js │ │ ├── hooks │ │ │ ├── theme.js │ │ │ └── user.js │ │ ├── main.jsx │ │ ├── pages │ │ │ ├── Demo.jsx │ │ │ ├── Home.jsx │ │ │ ├── Search.jsx │ │ │ └── ViewPost.jsx │ │ └── reducers.js │ └── vite.config.js ├── Chapter12_3 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── server │ │ └── db.json │ ├── src │ │ ├── App.jsx │ │ ├── FetchErrorNotice.jsx │ │ ├── api.js │ │ ├── components │ │ │ ├── NavBarLink.jsx │ │ │ ├── comment │ │ │ │ ├── Comment.jsx │ │ │ │ ├── CommentList.jsx │ │ │ │ ├── CommentSection.jsx │ │ │ │ └── CreateComment.jsx │ │ │ ├── demo │ │ │ │ ├── useId │ │ │ │ │ └── AriaInput.jsx │ │ │ │ ├── useImperativeHandle │ │ │ │ │ ├── HighlightFocus.jsx │ │ │ │ │ └── HighlightFocusInput.jsx │ │ │ │ ├── useRef │ │ │ │ │ ├── AutoFocus.jsx │ │ │ │ │ ├── CustomInput.jsx │ │ │ │ │ ├── InitialWidthMeasure.jsx │ │ │ │ │ └── Timer.jsx │ │ │ │ └── useSyncExternalStore │ │ │ │ │ └── OnlineIndicator.jsx │ │ │ ├── post │ │ │ │ ├── CopyLink.jsx │ │ │ │ ├── CreatePost.jsx │ │ │ │ ├── Post.jsx │ │ │ │ ├── PostFeed.jsx │ │ │ │ ├── PostList.jsx │ │ │ │ ├── PostListItem.jsx │ │ │ │ ├── PostSearch.jsx │ │ │ │ └── PostSearchResults.jsx │ │ │ └── user │ │ │ │ ├── Login.jsx │ │ │ │ ├── Logout.jsx │ │ │ │ ├── Register.jsx │ │ │ │ └── UserBar.jsx │ │ ├── contexts │ │ │ └── ThemeContext.js │ │ ├── hooks │ │ │ ├── api.js │ │ │ ├── theme.js │ │ │ └── user.js │ │ ├── main.jsx │ │ ├── pages │ │ │ ├── Demo.jsx │ │ │ ├── Home.jsx │ │ │ ├── Search.jsx │ │ │ └── ViewPost.jsx │ │ └── reducers.js │ └── vite.config.js ├── Chapter12_4 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── server │ │ └── db.json │ ├── src │ │ ├── App.jsx │ │ ├── FetchErrorNotice.jsx │ │ ├── api.js │ │ ├── components │ │ │ ├── NavBarLink.jsx │ │ │ ├── comment │ │ │ │ ├── Comment.jsx │ │ │ │ ├── CommentList.jsx │ │ │ │ ├── CommentSection.jsx │ │ │ │ └── CreateComment.jsx │ │ │ ├── demo │ │ │ │ ├── useId │ │ │ │ │ └── AriaInput.jsx │ │ │ │ ├── useImperativeHandle │ │ │ │ │ ├── HighlightFocus.jsx │ │ │ │ │ └── HighlightFocusInput.jsx │ │ │ │ ├── useRef │ │ │ │ │ ├── AutoFocus.jsx │ │ │ │ │ ├── CustomInput.jsx │ │ │ │ │ ├── InitialWidthMeasure.jsx │ │ │ │ │ └── Timer.jsx │ │ │ │ └── useSyncExternalStore │ │ │ │ │ └── OnlineIndicator.jsx │ │ │ ├── post │ │ │ │ ├── CopyLink.jsx │ │ │ │ ├── CreatePost.jsx │ │ │ │ ├── Post.jsx │ │ │ │ ├── PostFeed.jsx │ │ │ │ ├── PostList.jsx │ │ │ │ ├── PostListItem.jsx │ │ │ │ ├── PostSearch.jsx │ │ │ │ └── PostSearchResults.jsx │ │ │ └── user │ │ │ │ ├── Login.jsx │ │ │ │ ├── Logout.jsx │ │ │ │ ├── Register.jsx │ │ │ │ └── UserBar.jsx │ │ ├── contexts │ │ │ └── ThemeContext.js │ │ ├── hooks │ │ │ ├── api.js │ │ │ ├── debouncedHistoryState.js │ │ │ ├── theme.js │ │ │ └── user.js │ │ ├── main.jsx │ │ ├── pages │ │ │ ├── Demo.jsx │ │ │ ├── Home.jsx │ │ │ ├── Search.jsx │ │ │ └── ViewPost.jsx │ │ └── reducers.js │ └── vite.config.js └── Chapter12_5 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ └── vite.svg │ ├── server │ └── db.json │ ├── src │ ├── App.jsx │ ├── FetchErrorNotice.jsx │ ├── api.js │ ├── components │ │ ├── NavBarLink.jsx │ │ ├── comment │ │ │ ├── Comment.jsx │ │ │ ├── CommentList.jsx │ │ │ ├── CommentSection.jsx │ │ │ └── CreateComment.jsx │ │ ├── demo │ │ │ ├── useId │ │ │ │ └── AriaInput.jsx │ │ │ ├── useImperativeHandle │ │ │ │ ├── HighlightFocus.jsx │ │ │ │ └── HighlightFocusInput.jsx │ │ │ ├── useRef │ │ │ │ ├── AutoFocus.jsx │ │ │ │ ├── CustomInput.jsx │ │ │ │ ├── InitialWidthMeasure.jsx │ │ │ │ └── Timer.jsx │ │ │ └── useSyncExternalStore │ │ │ │ └── OnlineIndicator.jsx │ │ ├── post │ │ │ ├── CopyLink.jsx │ │ │ ├── CreatePost.jsx │ │ │ ├── Post.jsx │ │ │ ├── PostFeed.jsx │ │ │ ├── PostList.jsx │ │ │ ├── PostListItem.jsx │ │ │ ├── PostSearch.jsx │ │ │ └── PostSearchResults.jsx │ │ └── user │ │ │ ├── Login.jsx │ │ │ ├── Logout.jsx │ │ │ ├── Register.jsx │ │ │ └── UserBar.jsx │ ├── contexts │ │ └── ThemeContext.js │ ├── hooks │ │ ├── api.js │ │ ├── counter.js │ │ ├── counter.test.js │ │ ├── debouncedHistoryState.js │ │ ├── debouncedHistoryState.test.js │ │ ├── theme.js │ │ ├── theme.test.jsx │ │ ├── user.js │ │ └── user.test.js │ ├── main.jsx │ ├── pages │ │ ├── Demo.jsx │ │ ├── Home.jsx │ │ ├── Search.jsx │ │ └── ViewPost.jsx │ └── reducers.js │ └── vite.config.js ├── Chapter13 ├── Chapter13_1 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── AddTodo.jsx │ │ ├── App.jsx │ │ ├── Header.jsx │ │ ├── StateContext.js │ │ ├── TodoFilter.jsx │ │ ├── TodoItem.jsx │ │ ├── TodoList.jsx │ │ ├── api.js │ │ └── main.jsx │ └── vite.config.js └── Chapter13_2 │ ├── .gitignore │ ├── .prettierignore │ ├── .prettierrc.json │ ├── README.md │ ├── eslint.config.js │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── public │ └── vite.svg │ ├── src │ ├── AddTodo.jsx │ ├── App.jsx │ ├── Header.jsx │ ├── StateContext.js │ ├── TodoFilter.jsx │ ├── TodoItem.jsx │ ├── TodoList.jsx │ ├── api.js │ ├── main.jsx │ └── reducers.js │ └── vite.config.js └── README.md /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/.DS_Store -------------------------------------------------------------------------------- /Chapter01/Chapter01_1/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_1/.gitignore -------------------------------------------------------------------------------- /Chapter01/Chapter01_1/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter01/Chapter01_1/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_1/.prettierrc.json -------------------------------------------------------------------------------- /Chapter01/Chapter01_1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_1/README.md -------------------------------------------------------------------------------- /Chapter01/Chapter01_1/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_1/eslint.config.js -------------------------------------------------------------------------------- /Chapter01/Chapter01_1/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_1/index.html -------------------------------------------------------------------------------- /Chapter01/Chapter01_1/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_1/package-lock.json -------------------------------------------------------------------------------- /Chapter01/Chapter01_1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_1/package.json -------------------------------------------------------------------------------- /Chapter01/Chapter01_1/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_1/public/vite.svg -------------------------------------------------------------------------------- /Chapter01/Chapter01_1/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_1/src/App.css -------------------------------------------------------------------------------- /Chapter01/Chapter01_1/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_1/src/App.jsx -------------------------------------------------------------------------------- /Chapter01/Chapter01_1/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_1/src/assets/react.svg -------------------------------------------------------------------------------- /Chapter01/Chapter01_1/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_1/src/index.css -------------------------------------------------------------------------------- /Chapter01/Chapter01_1/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_1/src/main.jsx -------------------------------------------------------------------------------- /Chapter01/Chapter01_1/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_1/vite.config.js -------------------------------------------------------------------------------- /Chapter01/Chapter01_2/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_2/.gitignore -------------------------------------------------------------------------------- /Chapter01/Chapter01_2/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter01/Chapter01_2/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_2/.prettierrc.json -------------------------------------------------------------------------------- /Chapter01/Chapter01_2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_2/README.md -------------------------------------------------------------------------------- /Chapter01/Chapter01_2/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_2/eslint.config.js -------------------------------------------------------------------------------- /Chapter01/Chapter01_2/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_2/index.html -------------------------------------------------------------------------------- /Chapter01/Chapter01_2/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_2/package-lock.json -------------------------------------------------------------------------------- /Chapter01/Chapter01_2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_2/package.json -------------------------------------------------------------------------------- /Chapter01/Chapter01_2/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_2/public/vite.svg -------------------------------------------------------------------------------- /Chapter01/Chapter01_2/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_2/src/App.jsx -------------------------------------------------------------------------------- /Chapter01/Chapter01_2/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_2/src/main.jsx -------------------------------------------------------------------------------- /Chapter01/Chapter01_2/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_2/vite.config.js -------------------------------------------------------------------------------- /Chapter01/Chapter01_3/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_3/.gitignore -------------------------------------------------------------------------------- /Chapter01/Chapter01_3/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter01/Chapter01_3/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_3/.prettierrc.json -------------------------------------------------------------------------------- /Chapter01/Chapter01_3/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_3/README.md -------------------------------------------------------------------------------- /Chapter01/Chapter01_3/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_3/eslint.config.js -------------------------------------------------------------------------------- /Chapter01/Chapter01_3/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_3/index.html -------------------------------------------------------------------------------- /Chapter01/Chapter01_3/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_3/package-lock.json -------------------------------------------------------------------------------- /Chapter01/Chapter01_3/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_3/package.json -------------------------------------------------------------------------------- /Chapter01/Chapter01_3/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_3/public/vite.svg -------------------------------------------------------------------------------- /Chapter01/Chapter01_3/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_3/src/App.jsx -------------------------------------------------------------------------------- /Chapter01/Chapter01_3/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_3/src/main.jsx -------------------------------------------------------------------------------- /Chapter01/Chapter01_3/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter01/Chapter01_3/vite.config.js -------------------------------------------------------------------------------- /Chapter02/Chapter02_1/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_1/.gitignore -------------------------------------------------------------------------------- /Chapter02/Chapter02_1/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter02/Chapter02_1/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_1/.prettierrc.json -------------------------------------------------------------------------------- /Chapter02/Chapter02_1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_1/README.md -------------------------------------------------------------------------------- /Chapter02/Chapter02_1/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_1/eslint.config.js -------------------------------------------------------------------------------- /Chapter02/Chapter02_1/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_1/index.html -------------------------------------------------------------------------------- /Chapter02/Chapter02_1/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_1/package-lock.json -------------------------------------------------------------------------------- /Chapter02/Chapter02_1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_1/package.json -------------------------------------------------------------------------------- /Chapter02/Chapter02_1/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_1/public/vite.svg -------------------------------------------------------------------------------- /Chapter02/Chapter02_1/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_1/src/App.jsx -------------------------------------------------------------------------------- /Chapter02/Chapter02_1/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_1/src/main.jsx -------------------------------------------------------------------------------- /Chapter02/Chapter02_1/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_1/vite.config.js -------------------------------------------------------------------------------- /Chapter02/Chapter02_2/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_2/.gitignore -------------------------------------------------------------------------------- /Chapter02/Chapter02_2/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter02/Chapter02_2/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_2/.prettierrc.json -------------------------------------------------------------------------------- /Chapter02/Chapter02_2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_2/README.md -------------------------------------------------------------------------------- /Chapter02/Chapter02_2/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_2/eslint.config.js -------------------------------------------------------------------------------- /Chapter02/Chapter02_2/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_2/index.html -------------------------------------------------------------------------------- /Chapter02/Chapter02_2/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_2/package-lock.json -------------------------------------------------------------------------------- /Chapter02/Chapter02_2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_2/package.json -------------------------------------------------------------------------------- /Chapter02/Chapter02_2/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_2/public/vite.svg -------------------------------------------------------------------------------- /Chapter02/Chapter02_2/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_2/src/App.jsx -------------------------------------------------------------------------------- /Chapter02/Chapter02_2/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_2/src/main.jsx -------------------------------------------------------------------------------- /Chapter02/Chapter02_2/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_2/vite.config.js -------------------------------------------------------------------------------- /Chapter02/Chapter02_3/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_3/.gitignore -------------------------------------------------------------------------------- /Chapter02/Chapter02_3/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter02/Chapter02_3/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_3/.prettierrc.json -------------------------------------------------------------------------------- /Chapter02/Chapter02_3/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_3/README.md -------------------------------------------------------------------------------- /Chapter02/Chapter02_3/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_3/eslint.config.js -------------------------------------------------------------------------------- /Chapter02/Chapter02_3/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_3/index.html -------------------------------------------------------------------------------- /Chapter02/Chapter02_3/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_3/package-lock.json -------------------------------------------------------------------------------- /Chapter02/Chapter02_3/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_3/package.json -------------------------------------------------------------------------------- /Chapter02/Chapter02_3/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_3/public/vite.svg -------------------------------------------------------------------------------- /Chapter02/Chapter02_3/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_3/src/App.jsx -------------------------------------------------------------------------------- /Chapter02/Chapter02_3/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_3/src/main.jsx -------------------------------------------------------------------------------- /Chapter02/Chapter02_3/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter02/Chapter02_3/vite.config.js -------------------------------------------------------------------------------- /Chapter03/Chapter03_1/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_1/.gitignore -------------------------------------------------------------------------------- /Chapter03/Chapter03_1/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter03/Chapter03_1/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_1/.prettierrc.json -------------------------------------------------------------------------------- /Chapter03/Chapter03_1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_1/README.md -------------------------------------------------------------------------------- /Chapter03/Chapter03_1/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_1/eslint.config.js -------------------------------------------------------------------------------- /Chapter03/Chapter03_1/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_1/index.html -------------------------------------------------------------------------------- /Chapter03/Chapter03_1/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_1/package-lock.json -------------------------------------------------------------------------------- /Chapter03/Chapter03_1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_1/package.json -------------------------------------------------------------------------------- /Chapter03/Chapter03_1/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_1/public/vite.svg -------------------------------------------------------------------------------- /Chapter03/Chapter03_1/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_1/src/App.jsx -------------------------------------------------------------------------------- /Chapter03/Chapter03_1/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_1/src/main.jsx -------------------------------------------------------------------------------- /Chapter03/Chapter03_1/src/post/CreatePost.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_1/src/post/CreatePost.jsx -------------------------------------------------------------------------------- /Chapter03/Chapter03_1/src/post/Post.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_1/src/post/Post.jsx -------------------------------------------------------------------------------- /Chapter03/Chapter03_1/src/post/PostList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_1/src/post/PostList.jsx -------------------------------------------------------------------------------- /Chapter03/Chapter03_1/src/user/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_1/src/user/Login.jsx -------------------------------------------------------------------------------- /Chapter03/Chapter03_1/src/user/Logout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_1/src/user/Logout.jsx -------------------------------------------------------------------------------- /Chapter03/Chapter03_1/src/user/Register.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_1/src/user/Register.jsx -------------------------------------------------------------------------------- /Chapter03/Chapter03_1/src/user/UserBar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_1/src/user/UserBar.jsx -------------------------------------------------------------------------------- /Chapter03/Chapter03_1/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_1/vite.config.js -------------------------------------------------------------------------------- /Chapter03/Chapter03_2/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_2/.gitignore -------------------------------------------------------------------------------- /Chapter03/Chapter03_2/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter03/Chapter03_2/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_2/.prettierrc.json -------------------------------------------------------------------------------- /Chapter03/Chapter03_2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_2/README.md -------------------------------------------------------------------------------- /Chapter03/Chapter03_2/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_2/eslint.config.js -------------------------------------------------------------------------------- /Chapter03/Chapter03_2/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_2/index.html -------------------------------------------------------------------------------- /Chapter03/Chapter03_2/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_2/package-lock.json -------------------------------------------------------------------------------- /Chapter03/Chapter03_2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_2/package.json -------------------------------------------------------------------------------- /Chapter03/Chapter03_2/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_2/public/vite.svg -------------------------------------------------------------------------------- /Chapter03/Chapter03_2/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_2/src/App.jsx -------------------------------------------------------------------------------- /Chapter03/Chapter03_2/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_2/src/main.jsx -------------------------------------------------------------------------------- /Chapter03/Chapter03_2/src/post/CreatePost.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_2/src/post/CreatePost.jsx -------------------------------------------------------------------------------- /Chapter03/Chapter03_2/src/post/Post.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_2/src/post/Post.jsx -------------------------------------------------------------------------------- /Chapter03/Chapter03_2/src/post/PostList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_2/src/post/PostList.jsx -------------------------------------------------------------------------------- /Chapter03/Chapter03_2/src/user/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_2/src/user/Login.jsx -------------------------------------------------------------------------------- /Chapter03/Chapter03_2/src/user/Logout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_2/src/user/Logout.jsx -------------------------------------------------------------------------------- /Chapter03/Chapter03_2/src/user/Register.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_2/src/user/Register.jsx -------------------------------------------------------------------------------- /Chapter03/Chapter03_2/src/user/UserBar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_2/src/user/UserBar.jsx -------------------------------------------------------------------------------- /Chapter03/Chapter03_2/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter03/Chapter03_2/vite.config.js -------------------------------------------------------------------------------- /Chapter04/Chapter04_1/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_1/.gitignore -------------------------------------------------------------------------------- /Chapter04/Chapter04_1/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter04/Chapter04_1/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_1/.prettierrc.json -------------------------------------------------------------------------------- /Chapter04/Chapter04_1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_1/README.md -------------------------------------------------------------------------------- /Chapter04/Chapter04_1/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_1/eslint.config.js -------------------------------------------------------------------------------- /Chapter04/Chapter04_1/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_1/index.html -------------------------------------------------------------------------------- /Chapter04/Chapter04_1/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_1/package-lock.json -------------------------------------------------------------------------------- /Chapter04/Chapter04_1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_1/package.json -------------------------------------------------------------------------------- /Chapter04/Chapter04_1/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_1/public/vite.svg -------------------------------------------------------------------------------- /Chapter04/Chapter04_1/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_1/src/App.jsx -------------------------------------------------------------------------------- /Chapter04/Chapter04_1/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_1/src/main.jsx -------------------------------------------------------------------------------- /Chapter04/Chapter04_1/src/post/CreatePost.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_1/src/post/CreatePost.jsx -------------------------------------------------------------------------------- /Chapter04/Chapter04_1/src/post/Post.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_1/src/post/Post.jsx -------------------------------------------------------------------------------- /Chapter04/Chapter04_1/src/post/PostList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_1/src/post/PostList.jsx -------------------------------------------------------------------------------- /Chapter04/Chapter04_1/src/reducers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_1/src/reducers.js -------------------------------------------------------------------------------- /Chapter04/Chapter04_1/src/user/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_1/src/user/Login.jsx -------------------------------------------------------------------------------- /Chapter04/Chapter04_1/src/user/Logout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_1/src/user/Logout.jsx -------------------------------------------------------------------------------- /Chapter04/Chapter04_1/src/user/Register.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_1/src/user/Register.jsx -------------------------------------------------------------------------------- /Chapter04/Chapter04_1/src/user/UserBar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_1/src/user/UserBar.jsx -------------------------------------------------------------------------------- /Chapter04/Chapter04_1/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_1/vite.config.js -------------------------------------------------------------------------------- /Chapter04/Chapter04_2/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_2/.gitignore -------------------------------------------------------------------------------- /Chapter04/Chapter04_2/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter04/Chapter04_2/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_2/.prettierrc.json -------------------------------------------------------------------------------- /Chapter04/Chapter04_2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_2/README.md -------------------------------------------------------------------------------- /Chapter04/Chapter04_2/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_2/eslint.config.js -------------------------------------------------------------------------------- /Chapter04/Chapter04_2/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_2/index.html -------------------------------------------------------------------------------- /Chapter04/Chapter04_2/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_2/package-lock.json -------------------------------------------------------------------------------- /Chapter04/Chapter04_2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_2/package.json -------------------------------------------------------------------------------- /Chapter04/Chapter04_2/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_2/public/vite.svg -------------------------------------------------------------------------------- /Chapter04/Chapter04_2/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_2/src/App.jsx -------------------------------------------------------------------------------- /Chapter04/Chapter04_2/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_2/src/main.jsx -------------------------------------------------------------------------------- /Chapter04/Chapter04_2/src/post/CreatePost.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_2/src/post/CreatePost.jsx -------------------------------------------------------------------------------- /Chapter04/Chapter04_2/src/post/Post.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_2/src/post/Post.jsx -------------------------------------------------------------------------------- /Chapter04/Chapter04_2/src/post/PostList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_2/src/post/PostList.jsx -------------------------------------------------------------------------------- /Chapter04/Chapter04_2/src/reducers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_2/src/reducers.js -------------------------------------------------------------------------------- /Chapter04/Chapter04_2/src/user/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_2/src/user/Login.jsx -------------------------------------------------------------------------------- /Chapter04/Chapter04_2/src/user/Logout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_2/src/user/Logout.jsx -------------------------------------------------------------------------------- /Chapter04/Chapter04_2/src/user/Register.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_2/src/user/Register.jsx -------------------------------------------------------------------------------- /Chapter04/Chapter04_2/src/user/UserBar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_2/src/user/UserBar.jsx -------------------------------------------------------------------------------- /Chapter04/Chapter04_2/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter04/Chapter04_2/vite.config.js -------------------------------------------------------------------------------- /Chapter05/Chapter05_1/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_1/.gitignore -------------------------------------------------------------------------------- /Chapter05/Chapter05_1/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter05/Chapter05_1/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_1/.prettierrc.json -------------------------------------------------------------------------------- /Chapter05/Chapter05_1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_1/README.md -------------------------------------------------------------------------------- /Chapter05/Chapter05_1/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_1/eslint.config.js -------------------------------------------------------------------------------- /Chapter05/Chapter05_1/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_1/index.html -------------------------------------------------------------------------------- /Chapter05/Chapter05_1/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_1/jsconfig.json -------------------------------------------------------------------------------- /Chapter05/Chapter05_1/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_1/package-lock.json -------------------------------------------------------------------------------- /Chapter05/Chapter05_1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_1/package.json -------------------------------------------------------------------------------- /Chapter05/Chapter05_1/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_1/public/vite.svg -------------------------------------------------------------------------------- /Chapter05/Chapter05_1/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_1/src/App.jsx -------------------------------------------------------------------------------- /Chapter05/Chapter05_1/src/components/post/Post.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_1/src/components/post/Post.jsx -------------------------------------------------------------------------------- /Chapter05/Chapter05_1/src/components/post/PostList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_1/src/components/post/PostList.jsx -------------------------------------------------------------------------------- /Chapter05/Chapter05_1/src/components/user/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_1/src/components/user/Login.jsx -------------------------------------------------------------------------------- /Chapter05/Chapter05_1/src/components/user/Logout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_1/src/components/user/Logout.jsx -------------------------------------------------------------------------------- /Chapter05/Chapter05_1/src/components/user/Register.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_1/src/components/user/Register.jsx -------------------------------------------------------------------------------- /Chapter05/Chapter05_1/src/components/user/UserBar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_1/src/components/user/UserBar.jsx -------------------------------------------------------------------------------- /Chapter05/Chapter05_1/src/contexts/ThemeContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_1/src/contexts/ThemeContext.js -------------------------------------------------------------------------------- /Chapter05/Chapter05_1/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_1/src/main.jsx -------------------------------------------------------------------------------- /Chapter05/Chapter05_1/src/reducers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_1/src/reducers.js -------------------------------------------------------------------------------- /Chapter05/Chapter05_1/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_1/vite.config.js -------------------------------------------------------------------------------- /Chapter05/Chapter05_2/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_2/.gitignore -------------------------------------------------------------------------------- /Chapter05/Chapter05_2/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter05/Chapter05_2/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_2/.prettierrc.json -------------------------------------------------------------------------------- /Chapter05/Chapter05_2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_2/README.md -------------------------------------------------------------------------------- /Chapter05/Chapter05_2/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_2/eslint.config.js -------------------------------------------------------------------------------- /Chapter05/Chapter05_2/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_2/index.html -------------------------------------------------------------------------------- /Chapter05/Chapter05_2/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_2/jsconfig.json -------------------------------------------------------------------------------- /Chapter05/Chapter05_2/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_2/package-lock.json -------------------------------------------------------------------------------- /Chapter05/Chapter05_2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_2/package.json -------------------------------------------------------------------------------- /Chapter05/Chapter05_2/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_2/public/vite.svg -------------------------------------------------------------------------------- /Chapter05/Chapter05_2/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_2/src/App.jsx -------------------------------------------------------------------------------- /Chapter05/Chapter05_2/src/components/post/Post.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_2/src/components/post/Post.jsx -------------------------------------------------------------------------------- /Chapter05/Chapter05_2/src/components/post/PostList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_2/src/components/post/PostList.jsx -------------------------------------------------------------------------------- /Chapter05/Chapter05_2/src/components/user/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_2/src/components/user/Login.jsx -------------------------------------------------------------------------------- /Chapter05/Chapter05_2/src/components/user/Logout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_2/src/components/user/Logout.jsx -------------------------------------------------------------------------------- /Chapter05/Chapter05_2/src/components/user/Register.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_2/src/components/user/Register.jsx -------------------------------------------------------------------------------- /Chapter05/Chapter05_2/src/components/user/UserBar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_2/src/components/user/UserBar.jsx -------------------------------------------------------------------------------- /Chapter05/Chapter05_2/src/contexts/ThemeContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_2/src/contexts/ThemeContext.js -------------------------------------------------------------------------------- /Chapter05/Chapter05_2/src/contexts/UserContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_2/src/contexts/UserContext.js -------------------------------------------------------------------------------- /Chapter05/Chapter05_2/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_2/src/main.jsx -------------------------------------------------------------------------------- /Chapter05/Chapter05_2/src/reducers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_2/src/reducers.js -------------------------------------------------------------------------------- /Chapter05/Chapter05_2/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter05/Chapter05_2/vite.config.js -------------------------------------------------------------------------------- /Chapter06/Chapter06_1/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_1/.gitignore -------------------------------------------------------------------------------- /Chapter06/Chapter06_1/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter06/Chapter06_1/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_1/.prettierrc.json -------------------------------------------------------------------------------- /Chapter06/Chapter06_1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_1/README.md -------------------------------------------------------------------------------- /Chapter06/Chapter06_1/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_1/eslint.config.js -------------------------------------------------------------------------------- /Chapter06/Chapter06_1/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_1/index.html -------------------------------------------------------------------------------- /Chapter06/Chapter06_1/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_1/jsconfig.json -------------------------------------------------------------------------------- /Chapter06/Chapter06_1/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_1/package-lock.json -------------------------------------------------------------------------------- /Chapter06/Chapter06_1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_1/package.json -------------------------------------------------------------------------------- /Chapter06/Chapter06_1/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_1/public/vite.svg -------------------------------------------------------------------------------- /Chapter06/Chapter06_1/server/db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_1/server/db.json -------------------------------------------------------------------------------- /Chapter06/Chapter06_1/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_1/src/App.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_1/src/components/post/Post.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_1/src/components/post/Post.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_1/src/components/post/PostList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_1/src/components/post/PostList.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_1/src/components/user/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_1/src/components/user/Login.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_1/src/components/user/Logout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_1/src/components/user/Logout.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_1/src/components/user/Register.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_1/src/components/user/Register.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_1/src/components/user/UserBar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_1/src/components/user/UserBar.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_1/src/contexts/ThemeContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_1/src/contexts/ThemeContext.js -------------------------------------------------------------------------------- /Chapter06/Chapter06_1/src/contexts/UserContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_1/src/contexts/UserContext.js -------------------------------------------------------------------------------- /Chapter06/Chapter06_1/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_1/src/main.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_1/src/reducers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_1/src/reducers.js -------------------------------------------------------------------------------- /Chapter06/Chapter06_1/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_1/vite.config.js -------------------------------------------------------------------------------- /Chapter06/Chapter06_2/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_2/.gitignore -------------------------------------------------------------------------------- /Chapter06/Chapter06_2/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter06/Chapter06_2/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_2/.prettierrc.json -------------------------------------------------------------------------------- /Chapter06/Chapter06_2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_2/README.md -------------------------------------------------------------------------------- /Chapter06/Chapter06_2/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_2/eslint.config.js -------------------------------------------------------------------------------- /Chapter06/Chapter06_2/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_2/index.html -------------------------------------------------------------------------------- /Chapter06/Chapter06_2/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_2/jsconfig.json -------------------------------------------------------------------------------- /Chapter06/Chapter06_2/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_2/package-lock.json -------------------------------------------------------------------------------- /Chapter06/Chapter06_2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_2/package.json -------------------------------------------------------------------------------- /Chapter06/Chapter06_2/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_2/public/vite.svg -------------------------------------------------------------------------------- /Chapter06/Chapter06_2/server/db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_2/server/db.json -------------------------------------------------------------------------------- /Chapter06/Chapter06_2/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_2/src/App.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_2/src/components/post/Post.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_2/src/components/post/Post.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_2/src/components/post/PostList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_2/src/components/post/PostList.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_2/src/components/user/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_2/src/components/user/Login.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_2/src/components/user/Logout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_2/src/components/user/Logout.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_2/src/components/user/Register.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_2/src/components/user/Register.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_2/src/components/user/UserBar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_2/src/components/user/UserBar.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_2/src/contexts/ThemeContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_2/src/contexts/ThemeContext.js -------------------------------------------------------------------------------- /Chapter06/Chapter06_2/src/contexts/UserContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_2/src/contexts/UserContext.js -------------------------------------------------------------------------------- /Chapter06/Chapter06_2/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_2/src/main.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_2/src/reducers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_2/src/reducers.js -------------------------------------------------------------------------------- /Chapter06/Chapter06_2/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_2/vite.config.js -------------------------------------------------------------------------------- /Chapter06/Chapter06_3/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_3/.gitignore -------------------------------------------------------------------------------- /Chapter06/Chapter06_3/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter06/Chapter06_3/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_3/.prettierrc.json -------------------------------------------------------------------------------- /Chapter06/Chapter06_3/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_3/README.md -------------------------------------------------------------------------------- /Chapter06/Chapter06_3/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_3/eslint.config.js -------------------------------------------------------------------------------- /Chapter06/Chapter06_3/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_3/index.html -------------------------------------------------------------------------------- /Chapter06/Chapter06_3/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_3/jsconfig.json -------------------------------------------------------------------------------- /Chapter06/Chapter06_3/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_3/package-lock.json -------------------------------------------------------------------------------- /Chapter06/Chapter06_3/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_3/package.json -------------------------------------------------------------------------------- /Chapter06/Chapter06_3/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_3/public/vite.svg -------------------------------------------------------------------------------- /Chapter06/Chapter06_3/server/db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_3/server/db.json -------------------------------------------------------------------------------- /Chapter06/Chapter06_3/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_3/src/App.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_3/src/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_3/src/api.js -------------------------------------------------------------------------------- /Chapter06/Chapter06_3/src/components/post/Post.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_3/src/components/post/Post.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_3/src/components/post/PostFeed.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_3/src/components/post/PostFeed.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_3/src/components/post/PostList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_3/src/components/post/PostList.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_3/src/components/user/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_3/src/components/user/Login.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_3/src/components/user/Logout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_3/src/components/user/Logout.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_3/src/components/user/Register.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_3/src/components/user/Register.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_3/src/components/user/UserBar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_3/src/components/user/UserBar.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_3/src/contexts/ThemeContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_3/src/contexts/ThemeContext.js -------------------------------------------------------------------------------- /Chapter06/Chapter06_3/src/contexts/UserContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_3/src/contexts/UserContext.js -------------------------------------------------------------------------------- /Chapter06/Chapter06_3/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_3/src/main.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_3/src/reducers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_3/src/reducers.js -------------------------------------------------------------------------------- /Chapter06/Chapter06_3/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_3/vite.config.js -------------------------------------------------------------------------------- /Chapter06/Chapter06_4/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_4/.gitignore -------------------------------------------------------------------------------- /Chapter06/Chapter06_4/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter06/Chapter06_4/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_4/.prettierrc.json -------------------------------------------------------------------------------- /Chapter06/Chapter06_4/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_4/README.md -------------------------------------------------------------------------------- /Chapter06/Chapter06_4/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_4/eslint.config.js -------------------------------------------------------------------------------- /Chapter06/Chapter06_4/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_4/index.html -------------------------------------------------------------------------------- /Chapter06/Chapter06_4/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_4/jsconfig.json -------------------------------------------------------------------------------- /Chapter06/Chapter06_4/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_4/package-lock.json -------------------------------------------------------------------------------- /Chapter06/Chapter06_4/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_4/package.json -------------------------------------------------------------------------------- /Chapter06/Chapter06_4/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_4/public/vite.svg -------------------------------------------------------------------------------- /Chapter06/Chapter06_4/server/db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_4/server/db.json -------------------------------------------------------------------------------- /Chapter06/Chapter06_4/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_4/src/App.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_4/src/FetchErrorNotice.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_4/src/FetchErrorNotice.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_4/src/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_4/src/api.js -------------------------------------------------------------------------------- /Chapter06/Chapter06_4/src/components/post/Post.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_4/src/components/post/Post.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_4/src/components/post/PostFeed.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_4/src/components/post/PostFeed.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_4/src/components/post/PostList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_4/src/components/post/PostList.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_4/src/components/user/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_4/src/components/user/Login.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_4/src/components/user/Logout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_4/src/components/user/Logout.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_4/src/components/user/Register.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_4/src/components/user/Register.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_4/src/components/user/UserBar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_4/src/components/user/UserBar.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_4/src/contexts/ThemeContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_4/src/contexts/ThemeContext.js -------------------------------------------------------------------------------- /Chapter06/Chapter06_4/src/contexts/UserContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_4/src/contexts/UserContext.js -------------------------------------------------------------------------------- /Chapter06/Chapter06_4/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_4/src/main.jsx -------------------------------------------------------------------------------- /Chapter06/Chapter06_4/src/reducers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_4/src/reducers.js -------------------------------------------------------------------------------- /Chapter06/Chapter06_4/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter06/Chapter06_4/vite.config.js -------------------------------------------------------------------------------- /Chapter07/Chapter07_1/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_1/.gitignore -------------------------------------------------------------------------------- /Chapter07/Chapter07_1/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter07/Chapter07_1/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_1/.prettierrc.json -------------------------------------------------------------------------------- /Chapter07/Chapter07_1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_1/README.md -------------------------------------------------------------------------------- /Chapter07/Chapter07_1/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_1/eslint.config.js -------------------------------------------------------------------------------- /Chapter07/Chapter07_1/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_1/index.html -------------------------------------------------------------------------------- /Chapter07/Chapter07_1/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_1/jsconfig.json -------------------------------------------------------------------------------- /Chapter07/Chapter07_1/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_1/package-lock.json -------------------------------------------------------------------------------- /Chapter07/Chapter07_1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_1/package.json -------------------------------------------------------------------------------- /Chapter07/Chapter07_1/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_1/public/vite.svg -------------------------------------------------------------------------------- /Chapter07/Chapter07_1/server/db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_1/server/db.json -------------------------------------------------------------------------------- /Chapter07/Chapter07_1/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_1/src/App.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_1/src/FetchErrorNotice.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_1/src/FetchErrorNotice.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_1/src/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_1/src/api.js -------------------------------------------------------------------------------- /Chapter07/Chapter07_1/src/components/post/Post.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_1/src/components/post/Post.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_1/src/components/post/PostFeed.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_1/src/components/post/PostFeed.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_1/src/components/post/PostList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_1/src/components/post/PostList.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_1/src/components/user/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_1/src/components/user/Login.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_1/src/components/user/Logout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_1/src/components/user/Logout.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_1/src/components/user/Register.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_1/src/components/user/Register.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_1/src/components/user/UserBar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_1/src/components/user/UserBar.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_1/src/contexts/ThemeContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_1/src/contexts/ThemeContext.js -------------------------------------------------------------------------------- /Chapter07/Chapter07_1/src/contexts/UserContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_1/src/contexts/UserContext.js -------------------------------------------------------------------------------- /Chapter07/Chapter07_1/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_1/src/main.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_1/src/reducers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_1/src/reducers.js -------------------------------------------------------------------------------- /Chapter07/Chapter07_1/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_1/vite.config.js -------------------------------------------------------------------------------- /Chapter07/Chapter07_2/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_2/.gitignore -------------------------------------------------------------------------------- /Chapter07/Chapter07_2/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter07/Chapter07_2/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_2/.prettierrc.json -------------------------------------------------------------------------------- /Chapter07/Chapter07_2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_2/README.md -------------------------------------------------------------------------------- /Chapter07/Chapter07_2/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_2/eslint.config.js -------------------------------------------------------------------------------- /Chapter07/Chapter07_2/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_2/index.html -------------------------------------------------------------------------------- /Chapter07/Chapter07_2/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_2/jsconfig.json -------------------------------------------------------------------------------- /Chapter07/Chapter07_2/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_2/package-lock.json -------------------------------------------------------------------------------- /Chapter07/Chapter07_2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_2/package.json -------------------------------------------------------------------------------- /Chapter07/Chapter07_2/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_2/public/vite.svg -------------------------------------------------------------------------------- /Chapter07/Chapter07_2/server/db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_2/server/db.json -------------------------------------------------------------------------------- /Chapter07/Chapter07_2/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_2/src/App.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_2/src/FetchErrorNotice.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_2/src/FetchErrorNotice.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_2/src/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_2/src/api.js -------------------------------------------------------------------------------- /Chapter07/Chapter07_2/src/components/post/Post.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_2/src/components/post/Post.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_2/src/components/post/PostFeed.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_2/src/components/post/PostFeed.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_2/src/components/post/PostList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_2/src/components/post/PostList.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_2/src/components/user/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_2/src/components/user/Login.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_2/src/components/user/Logout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_2/src/components/user/Logout.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_2/src/components/user/Register.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_2/src/components/user/Register.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_2/src/components/user/UserBar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_2/src/components/user/UserBar.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_2/src/contexts/ThemeContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_2/src/contexts/ThemeContext.js -------------------------------------------------------------------------------- /Chapter07/Chapter07_2/src/contexts/UserContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_2/src/contexts/UserContext.js -------------------------------------------------------------------------------- /Chapter07/Chapter07_2/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_2/src/main.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_2/src/reducers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_2/src/reducers.js -------------------------------------------------------------------------------- /Chapter07/Chapter07_2/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_2/vite.config.js -------------------------------------------------------------------------------- /Chapter07/Chapter07_3/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_3/.gitignore -------------------------------------------------------------------------------- /Chapter07/Chapter07_3/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter07/Chapter07_3/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_3/.prettierrc.json -------------------------------------------------------------------------------- /Chapter07/Chapter07_3/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_3/README.md -------------------------------------------------------------------------------- /Chapter07/Chapter07_3/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_3/eslint.config.js -------------------------------------------------------------------------------- /Chapter07/Chapter07_3/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_3/index.html -------------------------------------------------------------------------------- /Chapter07/Chapter07_3/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_3/jsconfig.json -------------------------------------------------------------------------------- /Chapter07/Chapter07_3/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_3/package-lock.json -------------------------------------------------------------------------------- /Chapter07/Chapter07_3/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_3/package.json -------------------------------------------------------------------------------- /Chapter07/Chapter07_3/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_3/public/vite.svg -------------------------------------------------------------------------------- /Chapter07/Chapter07_3/server/db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_3/server/db.json -------------------------------------------------------------------------------- /Chapter07/Chapter07_3/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_3/src/App.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_3/src/FetchErrorNotice.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_3/src/FetchErrorNotice.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_3/src/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_3/src/api.js -------------------------------------------------------------------------------- /Chapter07/Chapter07_3/src/components/post/Post.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_3/src/components/post/Post.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_3/src/components/post/PostFeed.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_3/src/components/post/PostFeed.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_3/src/components/post/PostList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_3/src/components/post/PostList.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_3/src/components/user/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_3/src/components/user/Login.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_3/src/components/user/Logout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_3/src/components/user/Logout.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_3/src/components/user/Register.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_3/src/components/user/Register.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_3/src/components/user/UserBar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_3/src/components/user/UserBar.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_3/src/contexts/ThemeContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_3/src/contexts/ThemeContext.js -------------------------------------------------------------------------------- /Chapter07/Chapter07_3/src/contexts/UserContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_3/src/contexts/UserContext.js -------------------------------------------------------------------------------- /Chapter07/Chapter07_3/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_3/src/main.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_3/src/reducers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_3/src/reducers.js -------------------------------------------------------------------------------- /Chapter07/Chapter07_3/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_3/vite.config.js -------------------------------------------------------------------------------- /Chapter07/Chapter07_4/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_4/.gitignore -------------------------------------------------------------------------------- /Chapter07/Chapter07_4/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter07/Chapter07_4/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_4/.prettierrc.json -------------------------------------------------------------------------------- /Chapter07/Chapter07_4/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_4/README.md -------------------------------------------------------------------------------- /Chapter07/Chapter07_4/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_4/eslint.config.js -------------------------------------------------------------------------------- /Chapter07/Chapter07_4/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_4/index.html -------------------------------------------------------------------------------- /Chapter07/Chapter07_4/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_4/jsconfig.json -------------------------------------------------------------------------------- /Chapter07/Chapter07_4/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_4/package-lock.json -------------------------------------------------------------------------------- /Chapter07/Chapter07_4/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_4/package.json -------------------------------------------------------------------------------- /Chapter07/Chapter07_4/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_4/public/vite.svg -------------------------------------------------------------------------------- /Chapter07/Chapter07_4/server/db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_4/server/db.json -------------------------------------------------------------------------------- /Chapter07/Chapter07_4/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_4/src/App.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_4/src/FetchErrorNotice.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_4/src/FetchErrorNotice.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_4/src/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_4/src/api.js -------------------------------------------------------------------------------- /Chapter07/Chapter07_4/src/components/post/Post.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_4/src/components/post/Post.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_4/src/components/post/PostFeed.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_4/src/components/post/PostFeed.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_4/src/components/post/PostList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_4/src/components/post/PostList.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_4/src/components/user/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_4/src/components/user/Login.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_4/src/components/user/Logout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_4/src/components/user/Logout.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_4/src/components/user/Register.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_4/src/components/user/Register.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_4/src/components/user/UserBar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_4/src/components/user/UserBar.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_4/src/contexts/ThemeContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_4/src/contexts/ThemeContext.js -------------------------------------------------------------------------------- /Chapter07/Chapter07_4/src/contexts/UserContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_4/src/contexts/UserContext.js -------------------------------------------------------------------------------- /Chapter07/Chapter07_4/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_4/src/main.jsx -------------------------------------------------------------------------------- /Chapter07/Chapter07_4/src/reducers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_4/src/reducers.js -------------------------------------------------------------------------------- /Chapter07/Chapter07_4/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter07/Chapter07_4/vite.config.js -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_1/.gitignore -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_1/.prettierrc.json -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_1/README.md -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_1/eslint.config.js -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_1/index.html -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_1/jsconfig.json -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_1/package-lock.json -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_1/package.json -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_1/public/vite.svg -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/server/db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_1/server/db.json -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_1/src/App.jsx -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/src/FetchErrorNotice.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_1/src/FetchErrorNotice.jsx -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/src/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_1/src/api.js -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/src/components/post/Post.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_1/src/components/post/Post.jsx -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/src/components/post/PostFeed.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_1/src/components/post/PostFeed.jsx -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/src/components/post/PostList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_1/src/components/post/PostList.jsx -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/src/components/user/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_1/src/components/user/Login.jsx -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/src/components/user/Logout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_1/src/components/user/Logout.jsx -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/src/components/user/Register.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_1/src/components/user/Register.jsx -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/src/components/user/UserBar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_1/src/components/user/UserBar.jsx -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/src/contexts/ThemeContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_1/src/contexts/ThemeContext.js -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/src/contexts/UserContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_1/src/contexts/UserContext.js -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_1/src/main.jsx -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/src/pages/Home.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_1/src/pages/Home.jsx -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/src/reducers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_1/src/reducers.js -------------------------------------------------------------------------------- /Chapter08/Chapter08_1/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_1/vite.config.js -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/.gitignore -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/.prettierrc.json -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/README.md -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/eslint.config.js -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/index.html -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/jsconfig.json -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/package-lock.json -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/package.json -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/public/vite.svg -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/server/db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/server/db.json -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/src/App.jsx -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/src/FetchErrorNotice.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/src/FetchErrorNotice.jsx -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/src/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/src/api.js -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/src/components/NavBarLink.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/src/components/NavBarLink.jsx -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/src/components/post/Post.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/src/components/post/Post.jsx -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/src/components/post/PostFeed.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/src/components/post/PostFeed.jsx -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/src/components/post/PostList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/src/components/post/PostList.jsx -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/src/components/user/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/src/components/user/Login.jsx -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/src/components/user/Logout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/src/components/user/Logout.jsx -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/src/components/user/Register.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/src/components/user/Register.jsx -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/src/components/user/UserBar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/src/components/user/UserBar.jsx -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/src/contexts/ThemeContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/src/contexts/ThemeContext.js -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/src/contexts/UserContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/src/contexts/UserContext.js -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/src/main.jsx -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/src/pages/Home.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/src/pages/Home.jsx -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/src/pages/ViewPost.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/src/pages/ViewPost.jsx -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/src/reducers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/src/reducers.js -------------------------------------------------------------------------------- /Chapter08/Chapter08_2/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter08/Chapter08_2/vite.config.js -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/.gitignore -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/.prettierrc.json -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/README.md -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/eslint.config.js -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/index.html -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/jsconfig.json -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/package-lock.json -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/package.json -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/public/vite.svg -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/server/db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/server/db.json -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/src/App.jsx -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/src/FetchErrorNotice.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/src/FetchErrorNotice.jsx -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/src/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/src/api.js -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/src/components/NavBarLink.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/src/components/NavBarLink.jsx -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/src/components/post/Post.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/src/components/post/Post.jsx -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/src/components/post/PostFeed.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/src/components/post/PostFeed.jsx -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/src/components/post/PostList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/src/components/post/PostList.jsx -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/src/components/user/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/src/components/user/Login.jsx -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/src/components/user/Logout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/src/components/user/Logout.jsx -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/src/components/user/Register.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/src/components/user/Register.jsx -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/src/components/user/UserBar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/src/components/user/UserBar.jsx -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/src/contexts/ThemeContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/src/contexts/ThemeContext.js -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/src/contexts/UserContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/src/contexts/UserContext.js -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/src/main.jsx -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/src/pages/Demo.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/src/pages/Demo.jsx -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/src/pages/Home.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/src/pages/Home.jsx -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/src/pages/Search.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/src/pages/Search.jsx -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/src/pages/ViewPost.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/src/pages/ViewPost.jsx -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/src/reducers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/src/reducers.js -------------------------------------------------------------------------------- /Chapter09/Chapter09_1/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter09/Chapter09_1/vite.config.js -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/.gitignore -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/.prettierrc.json -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/README.md -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/eslint.config.js -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/index.html -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/jsconfig.json -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/package-lock.json -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/package.json -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/public/vite.svg -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/server/db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/server/db.json -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/src/App.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/src/FetchErrorNotice.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/src/FetchErrorNotice.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/src/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/src/api.js -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/src/components/NavBarLink.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/src/components/NavBarLink.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/src/components/post/Post.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/src/components/post/Post.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/src/components/post/PostFeed.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/src/components/post/PostFeed.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/src/components/post/PostList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/src/components/post/PostList.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/src/components/user/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/src/components/user/Login.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/src/components/user/Logout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/src/components/user/Logout.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/src/components/user/Register.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/src/components/user/Register.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/src/components/user/UserBar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/src/components/user/UserBar.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/src/contexts/ThemeContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/src/contexts/ThemeContext.js -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/src/main.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/src/pages/Demo.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/src/pages/Demo.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/src/pages/Home.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/src/pages/Home.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/src/pages/Search.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/src/pages/Search.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/src/pages/ViewPost.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/src/pages/ViewPost.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/src/reducers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/src/reducers.js -------------------------------------------------------------------------------- /Chapter10/Chapter10_1/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_1/vite.config.js -------------------------------------------------------------------------------- /Chapter10/Chapter10_2/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_2/.gitignore -------------------------------------------------------------------------------- /Chapter10/Chapter10_2/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter10/Chapter10_2/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_2/.prettierrc.json -------------------------------------------------------------------------------- /Chapter10/Chapter10_2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_2/README.md -------------------------------------------------------------------------------- /Chapter10/Chapter10_2/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_2/eslint.config.js -------------------------------------------------------------------------------- /Chapter10/Chapter10_2/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_2/index.html -------------------------------------------------------------------------------- /Chapter10/Chapter10_2/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_2/jsconfig.json -------------------------------------------------------------------------------- /Chapter10/Chapter10_2/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_2/package-lock.json -------------------------------------------------------------------------------- /Chapter10/Chapter10_2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_2/package.json -------------------------------------------------------------------------------- /Chapter10/Chapter10_2/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_2/public/vite.svg -------------------------------------------------------------------------------- /Chapter10/Chapter10_2/server/db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_2/server/db.json -------------------------------------------------------------------------------- /Chapter10/Chapter10_2/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_2/src/App.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_2/src/FetchErrorNotice.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_2/src/FetchErrorNotice.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_2/src/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_2/src/api.js -------------------------------------------------------------------------------- /Chapter10/Chapter10_2/src/components/NavBarLink.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_2/src/components/NavBarLink.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_2/src/components/post/Post.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_2/src/components/post/Post.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_2/src/components/user/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_2/src/components/user/Login.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_2/src/components/user/Logout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_2/src/components/user/Logout.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_2/src/contexts/ThemeContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_2/src/contexts/ThemeContext.js -------------------------------------------------------------------------------- /Chapter10/Chapter10_2/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_2/src/main.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_2/src/pages/Demo.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_2/src/pages/Demo.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_2/src/pages/Home.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_2/src/pages/Home.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_2/src/pages/Search.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_2/src/pages/Search.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_2/src/pages/ViewPost.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_2/src/pages/ViewPost.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_2/src/reducers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_2/src/reducers.js -------------------------------------------------------------------------------- /Chapter10/Chapter10_2/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_2/vite.config.js -------------------------------------------------------------------------------- /Chapter10/Chapter10_3/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_3/.gitignore -------------------------------------------------------------------------------- /Chapter10/Chapter10_3/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter10/Chapter10_3/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_3/.prettierrc.json -------------------------------------------------------------------------------- /Chapter10/Chapter10_3/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_3/README.md -------------------------------------------------------------------------------- /Chapter10/Chapter10_3/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_3/eslint.config.js -------------------------------------------------------------------------------- /Chapter10/Chapter10_3/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_3/index.html -------------------------------------------------------------------------------- /Chapter10/Chapter10_3/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_3/jsconfig.json -------------------------------------------------------------------------------- /Chapter10/Chapter10_3/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_3/package-lock.json -------------------------------------------------------------------------------- /Chapter10/Chapter10_3/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_3/package.json -------------------------------------------------------------------------------- /Chapter10/Chapter10_3/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_3/public/vite.svg -------------------------------------------------------------------------------- /Chapter10/Chapter10_3/server/db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_3/server/db.json -------------------------------------------------------------------------------- /Chapter10/Chapter10_3/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_3/src/App.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_3/src/FetchErrorNotice.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_3/src/FetchErrorNotice.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_3/src/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_3/src/api.js -------------------------------------------------------------------------------- /Chapter10/Chapter10_3/src/components/NavBarLink.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_3/src/components/NavBarLink.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_3/src/components/post/Post.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_3/src/components/post/Post.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_3/src/components/user/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_3/src/components/user/Login.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_3/src/components/user/Logout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_3/src/components/user/Logout.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_3/src/contexts/ThemeContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_3/src/contexts/ThemeContext.js -------------------------------------------------------------------------------- /Chapter10/Chapter10_3/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_3/src/main.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_3/src/pages/Demo.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_3/src/pages/Demo.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_3/src/pages/Home.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_3/src/pages/Home.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_3/src/pages/Search.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_3/src/pages/Search.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_3/src/pages/ViewPost.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_3/src/pages/ViewPost.jsx -------------------------------------------------------------------------------- /Chapter10/Chapter10_3/src/reducers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_3/src/reducers.js -------------------------------------------------------------------------------- /Chapter10/Chapter10_3/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter10/Chapter10_3/vite.config.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_1/.gitignore -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_1/.prettierrc.json -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_1/README.md -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_1/eslint.config.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_1/index.html -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_1/jsconfig.json -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_1/package-lock.json -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_1/package.json -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_1/public/vite.svg -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/server/db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_1/server/db.json -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_1/src/App.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/src/FetchErrorNotice.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_1/src/FetchErrorNotice.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/src/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_1/src/api.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/src/components/NavBarLink.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_1/src/components/NavBarLink.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/src/components/post/Post.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_1/src/components/post/Post.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/src/components/user/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_1/src/components/user/Login.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/src/components/user/Logout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_1/src/components/user/Logout.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/src/contexts/ThemeContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_1/src/contexts/ThemeContext.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/src/hooks/theme.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_1/src/hooks/theme.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_1/src/main.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/src/pages/Demo.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_1/src/pages/Demo.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/src/pages/Home.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_1/src/pages/Home.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/src/pages/Search.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_1/src/pages/Search.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/src/pages/ViewPost.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_1/src/pages/ViewPost.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/src/reducers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_1/src/reducers.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_1/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_1/vite.config.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/.gitignore -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/.prettierrc.json -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/README.md -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/eslint.config.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/index.html -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/jsconfig.json -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/package-lock.json -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/package.json -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/public/vite.svg -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/server/db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/server/db.json -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/src/App.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/src/FetchErrorNotice.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/src/FetchErrorNotice.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/src/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/src/api.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/src/components/NavBarLink.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/src/components/NavBarLink.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/src/components/post/Post.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/src/components/post/Post.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/src/components/user/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/src/components/user/Login.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/src/components/user/Logout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/src/components/user/Logout.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/src/contexts/ThemeContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/src/contexts/ThemeContext.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/src/hooks/theme.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/src/hooks/theme.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/src/hooks/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/src/hooks/user.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/src/main.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/src/pages/Demo.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/src/pages/Demo.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/src/pages/Home.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/src/pages/Home.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/src/pages/Search.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/src/pages/Search.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/src/pages/ViewPost.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/src/pages/ViewPost.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/src/reducers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/src/reducers.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_2/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_2/vite.config.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/.gitignore -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/.prettierrc.json -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/README.md -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/eslint.config.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/index.html -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/jsconfig.json -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/package-lock.json -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/package.json -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/public/vite.svg -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/server/db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/server/db.json -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/src/App.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/src/FetchErrorNotice.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/src/FetchErrorNotice.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/src/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/src/api.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/src/components/NavBarLink.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/src/components/NavBarLink.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/src/components/post/Post.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/src/components/post/Post.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/src/components/user/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/src/components/user/Login.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/src/components/user/Logout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/src/components/user/Logout.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/src/contexts/ThemeContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/src/contexts/ThemeContext.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/src/hooks/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/src/hooks/api.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/src/hooks/theme.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/src/hooks/theme.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/src/hooks/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/src/hooks/user.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/src/main.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/src/pages/Demo.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/src/pages/Demo.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/src/pages/Home.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/src/pages/Home.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/src/pages/Search.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/src/pages/Search.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/src/pages/ViewPost.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/src/pages/ViewPost.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/src/reducers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/src/reducers.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_3/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_3/vite.config.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/.gitignore -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/.prettierrc.json -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/README.md -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/eslint.config.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/index.html -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/jsconfig.json -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/package-lock.json -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/package.json -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/public/vite.svg -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/server/db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/server/db.json -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/src/App.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/src/FetchErrorNotice.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/src/FetchErrorNotice.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/src/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/src/api.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/src/components/NavBarLink.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/src/components/NavBarLink.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/src/components/post/Post.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/src/components/post/Post.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/src/components/user/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/src/components/user/Login.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/src/components/user/Logout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/src/components/user/Logout.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/src/contexts/ThemeContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/src/contexts/ThemeContext.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/src/hooks/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/src/hooks/api.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/src/hooks/theme.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/src/hooks/theme.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/src/hooks/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/src/hooks/user.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/src/main.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/src/pages/Demo.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/src/pages/Demo.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/src/pages/Home.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/src/pages/Home.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/src/pages/Search.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/src/pages/Search.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/src/pages/ViewPost.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/src/pages/ViewPost.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/src/reducers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/src/reducers.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_4/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_4/vite.config.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/.gitignore -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/.prettierrc.json -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/README.md -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/eslint.config.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/index.html -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/jsconfig.json -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/package-lock.json -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/package.json -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/public/vite.svg -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/server/db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/server/db.json -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/src/App.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/src/FetchErrorNotice.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/src/FetchErrorNotice.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/src/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/src/api.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/src/components/NavBarLink.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/src/components/NavBarLink.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/src/components/post/Post.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/src/components/post/Post.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/src/components/user/Login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/src/components/user/Login.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/src/components/user/Logout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/src/components/user/Logout.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/src/contexts/ThemeContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/src/contexts/ThemeContext.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/src/hooks/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/src/hooks/api.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/src/hooks/counter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/src/hooks/counter.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/src/hooks/counter.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/src/hooks/counter.test.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/src/hooks/theme.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/src/hooks/theme.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/src/hooks/theme.test.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/src/hooks/theme.test.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/src/hooks/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/src/hooks/user.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/src/hooks/user.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/src/hooks/user.test.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/src/main.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/src/pages/Demo.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/src/pages/Demo.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/src/pages/Home.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/src/pages/Home.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/src/pages/Search.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/src/pages/Search.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/src/pages/ViewPost.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/src/pages/ViewPost.jsx -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/src/reducers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/src/reducers.js -------------------------------------------------------------------------------- /Chapter12/Chapter12_5/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter12/Chapter12_5/vite.config.js -------------------------------------------------------------------------------- /Chapter13/Chapter13_1/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_1/.gitignore -------------------------------------------------------------------------------- /Chapter13/Chapter13_1/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter13/Chapter13_1/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_1/.prettierrc.json -------------------------------------------------------------------------------- /Chapter13/Chapter13_1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_1/README.md -------------------------------------------------------------------------------- /Chapter13/Chapter13_1/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_1/eslint.config.js -------------------------------------------------------------------------------- /Chapter13/Chapter13_1/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_1/index.html -------------------------------------------------------------------------------- /Chapter13/Chapter13_1/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_1/package-lock.json -------------------------------------------------------------------------------- /Chapter13/Chapter13_1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_1/package.json -------------------------------------------------------------------------------- /Chapter13/Chapter13_1/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_1/public/vite.svg -------------------------------------------------------------------------------- /Chapter13/Chapter13_1/src/AddTodo.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_1/src/AddTodo.jsx -------------------------------------------------------------------------------- /Chapter13/Chapter13_1/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_1/src/App.jsx -------------------------------------------------------------------------------- /Chapter13/Chapter13_1/src/Header.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_1/src/Header.jsx -------------------------------------------------------------------------------- /Chapter13/Chapter13_1/src/StateContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_1/src/StateContext.js -------------------------------------------------------------------------------- /Chapter13/Chapter13_1/src/TodoFilter.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_1/src/TodoFilter.jsx -------------------------------------------------------------------------------- /Chapter13/Chapter13_1/src/TodoItem.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_1/src/TodoItem.jsx -------------------------------------------------------------------------------- /Chapter13/Chapter13_1/src/TodoList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_1/src/TodoList.jsx -------------------------------------------------------------------------------- /Chapter13/Chapter13_1/src/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_1/src/api.js -------------------------------------------------------------------------------- /Chapter13/Chapter13_1/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_1/src/main.jsx -------------------------------------------------------------------------------- /Chapter13/Chapter13_1/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_1/vite.config.js -------------------------------------------------------------------------------- /Chapter13/Chapter13_2/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_2/.gitignore -------------------------------------------------------------------------------- /Chapter13/Chapter13_2/.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /Chapter13/Chapter13_2/.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_2/.prettierrc.json -------------------------------------------------------------------------------- /Chapter13/Chapter13_2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_2/README.md -------------------------------------------------------------------------------- /Chapter13/Chapter13_2/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_2/eslint.config.js -------------------------------------------------------------------------------- /Chapter13/Chapter13_2/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_2/index.html -------------------------------------------------------------------------------- /Chapter13/Chapter13_2/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_2/package-lock.json -------------------------------------------------------------------------------- /Chapter13/Chapter13_2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_2/package.json -------------------------------------------------------------------------------- /Chapter13/Chapter13_2/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_2/public/vite.svg -------------------------------------------------------------------------------- /Chapter13/Chapter13_2/src/AddTodo.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_2/src/AddTodo.jsx -------------------------------------------------------------------------------- /Chapter13/Chapter13_2/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_2/src/App.jsx -------------------------------------------------------------------------------- /Chapter13/Chapter13_2/src/Header.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_2/src/Header.jsx -------------------------------------------------------------------------------- /Chapter13/Chapter13_2/src/StateContext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_2/src/StateContext.js -------------------------------------------------------------------------------- /Chapter13/Chapter13_2/src/TodoFilter.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_2/src/TodoFilter.jsx -------------------------------------------------------------------------------- /Chapter13/Chapter13_2/src/TodoItem.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_2/src/TodoItem.jsx -------------------------------------------------------------------------------- /Chapter13/Chapter13_2/src/TodoList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_2/src/TodoList.jsx -------------------------------------------------------------------------------- /Chapter13/Chapter13_2/src/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_2/src/api.js -------------------------------------------------------------------------------- /Chapter13/Chapter13_2/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_2/src/main.jsx -------------------------------------------------------------------------------- /Chapter13/Chapter13_2/src/reducers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_2/src/reducers.js -------------------------------------------------------------------------------- /Chapter13/Chapter13_2/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/Chapter13/Chapter13_2/vite.config.js -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-React-Hooks-Second-Edition/HEAD/README.md --------------------------------------------------------------------------------