├── Chapter01 ├── toUpperCase.ts └── toggle.html ├── Chapter04 ├── geolocation │ ├── .gitignore │ ├── index.html │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.css │ │ ├── App.tsx │ │ ├── assets │ │ │ └── react.svg │ │ ├── components │ │ │ ├── Geolocation.tsx │ │ │ └── GeolocationContainer.tsx │ │ ├── index.css │ │ ├── main.tsx │ │ └── vite-env.d.ts │ ├── tsconfig.json │ ├── tsconfig.node.json │ ├── vite.config.ts │ └── yarn.lock └── hocs │ ├── .gitignore │ ├── index.html │ ├── package.json │ ├── public │ └── vite.svg │ ├── src │ ├── App.css │ ├── App.tsx │ ├── assets │ │ └── react.svg │ ├── components │ │ └── MyComponent │ │ │ ├── WithInnerWidth.tsx │ │ │ └── index.tsx │ ├── index.css │ ├── main.tsx │ └── vite-env.d.ts │ ├── tsconfig.json │ ├── tsconfig.node.json │ ├── vite.config.ts │ └── yarn.lock ├── Chapter05 ├── animations │ ├── .gitignore │ ├── index.html │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.css │ │ ├── App.tsx │ │ ├── assets │ │ │ └── react.svg │ │ ├── components │ │ │ └── Transition │ │ │ │ ├── Transition.css │ │ │ │ └── index.tsx │ │ ├── index.css │ │ ├── main.tsx │ │ └── vite-env.d.ts │ ├── tsconfig.json │ ├── tsconfig.node.json │ ├── vite.config.ts │ └── yarn.lock ├── controlled-components │ ├── .gitignore │ ├── index.html │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.css │ │ ├── App.tsx │ │ ├── assets │ │ │ └── react.svg │ │ ├── components │ │ │ └── Controlled │ │ │ │ └── index.tsx │ │ ├── index.css │ │ ├── main.tsx │ │ └── vite-env.d.ts │ ├── tsconfig.json │ ├── tsconfig.node.json │ ├── vite.config.ts │ └── yarn.lock ├── event-switch │ ├── .gitignore │ ├── index.html │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.css │ │ ├── App.tsx │ │ ├── assets │ │ │ └── react.svg │ │ ├── components │ │ │ └── Button │ │ │ │ └── index.tsx │ │ ├── index.css │ │ ├── main.tsx │ │ └── vite-env.d.ts │ ├── tsconfig.json │ ├── tsconfig.node.json │ ├── vite.config.ts │ └── yarn.lock ├── refs │ ├── .gitignore │ ├── index.html │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.css │ │ ├── App.tsx │ │ ├── assets │ │ │ └── react.svg │ │ ├── components │ │ │ └── Focus │ │ │ │ └── index.tsx │ │ ├── index.css │ │ ├── main.tsx │ │ └── vite-env.d.ts │ ├── tsconfig.json │ ├── tsconfig.node.json │ ├── vite.config.ts │ └── yarn.lock ├── svg │ ├── .gitignore │ ├── index.html │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.css │ │ ├── App.tsx │ │ ├── assets │ │ │ └── react.svg │ │ ├── components │ │ │ └── Circles │ │ │ │ ├── Circle.tsx │ │ │ │ └── RedCircle.tsx │ │ ├── index.css │ │ ├── main.tsx │ │ └── vite-env.d.ts │ ├── tsconfig.json │ ├── tsconfig.node.json │ ├── vite.config.ts │ └── yarn.lock └── uncontrolled-components │ ├── .gitignore │ ├── index.html │ ├── package.json │ ├── public │ └── vite.svg │ ├── src │ ├── App.css │ ├── App.tsx │ ├── assets │ │ └── react.svg │ ├── components │ │ └── Uncontrolled │ │ │ └── index.tsx │ ├── index.css │ ├── main.tsx │ └── vite-env.d.ts │ ├── tsconfig.json │ ├── tsconfig.node.json │ ├── vite.config.ts │ └── yarn.lock ├── Chapter06 ├── css-modules │ ├── .babelrc │ ├── .gitignore │ ├── package.json │ ├── src │ │ ├── declarations.d.ts │ │ ├── index.css │ │ ├── index.html │ │ └── index.tsx │ ├── tsconfig.json │ ├── webpack.config.js │ └── yarn.lock ├── inline-styles │ ├── .gitignore │ ├── index.html │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.css │ │ ├── App.tsx │ │ ├── assets │ │ │ └── react.svg │ │ ├── components │ │ │ └── FontSize │ │ │ │ └── index.tsx │ │ ├── index.css │ │ ├── main.tsx │ │ └── vite-env.d.ts │ ├── tsconfig.json │ ├── tsconfig.node.json │ ├── vite.config.ts │ └── yarn.lock └── styled-components │ ├── .babelrc │ ├── .gitignore │ ├── package.json │ ├── src │ ├── components │ │ └── Button │ │ │ └── index.tsx │ ├── index.html │ └── index.tsx │ ├── tsconfig.json │ ├── webpack.config.js │ └── yarn.lock ├── Chapter07 ├── counter │ ├── .gitignore │ ├── index.html │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.css │ │ ├── App.tsx │ │ ├── assets │ │ │ └── react.svg │ │ ├── components │ │ │ └── Counter │ │ │ │ └── index.tsx │ │ ├── index.css │ │ ├── main.tsx │ │ └── vite-env.d.ts │ ├── tsconfig.json │ ├── tsconfig.node.json │ ├── vite.config.ts │ └── yarn.lock └── keys │ ├── .gitignore │ ├── index.html │ ├── package.json │ ├── public │ └── vite.svg │ ├── src │ ├── App.css │ ├── App.tsx │ ├── assets │ │ └── react.svg │ ├── components │ │ └── List │ │ │ └── index.tsx │ ├── index.css │ ├── main.tsx │ └── vite-env.d.ts │ ├── tsconfig.json │ ├── tsconfig.node.json │ ├── vite.config.ts │ └── yarn.lock ├── Chapter08 ├── 1-react-hooks │ ├── .gitignore │ ├── index.html │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.css │ │ ├── App.tsx │ │ ├── Counter.tsx │ │ ├── Issues.tsx │ │ ├── Issues2.tsx │ │ ├── assets │ │ │ └── react.svg │ │ ├── index.css │ │ ├── main.tsx │ │ └── vite-env.d.ts │ ├── tsconfig.json │ ├── tsconfig.node.json │ ├── vite.config.ts │ └── yarn.lock ├── 2-todo │ ├── .gitignore │ ├── index.html │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.css │ │ ├── App.tsx │ │ ├── List.tsx │ │ ├── Task.tsx │ │ ├── assets │ │ │ └── react.svg │ │ ├── index.css │ │ ├── main.tsx │ │ └── vite-env.d.ts │ ├── tsconfig.json │ ├── tsconfig.node.json │ ├── vite.config.ts │ └── yarn.lock └── 3-reducer │ ├── .gitignore │ ├── index.html │ ├── package.json │ ├── public │ └── vite.svg │ ├── src │ ├── App.css │ ├── App.tsx │ ├── Notes.tsx │ ├── assets │ │ └── react.svg │ ├── index.css │ ├── main.tsx │ └── vite-env.d.ts │ ├── tsconfig.json │ ├── tsconfig.node.json │ ├── vite.config.ts │ └── yarn.lock ├── Chapter09 ├── react-router-v6.4 │ ├── .gitignore │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.css │ │ ├── App.tsx │ │ ├── assets │ │ │ └── react.svg │ │ ├── components │ │ │ ├── About │ │ │ │ └── index.tsx │ │ │ ├── Error404 │ │ │ │ └── index.tsx │ │ │ ├── Home │ │ │ │ └── index.tsx │ │ │ └── Pokemons │ │ │ │ └── index.tsx │ │ ├── index.css │ │ ├── main.tsx │ │ └── vite-env.d.ts │ ├── tsconfig.json │ ├── tsconfig.node.json │ ├── vite.config.ts │ └── yarn.lock ├── react-router-with-params │ ├── .gitignore │ ├── index.html │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.css │ │ ├── App.tsx │ │ ├── assets │ │ │ └── react.svg │ │ ├── components │ │ │ ├── About │ │ │ │ └── index.tsx │ │ │ ├── Contact │ │ │ │ └── index.tsx │ │ │ ├── Contacts │ │ │ │ ├── Contacts.css │ │ │ │ └── index.tsx │ │ │ ├── Error404 │ │ │ │ └── index.tsx │ │ │ └── Home │ │ │ │ └── index.tsx │ │ ├── index.css │ │ ├── main.tsx │ │ ├── routes.tsx │ │ └── vite-env.d.ts │ ├── tsconfig.json │ ├── tsconfig.node.json │ ├── vite.config.ts │ └── yarn.lock └── react-router │ ├── .gitignore │ ├── index.html │ ├── package.json │ ├── public │ └── vite.svg │ ├── src │ ├── App.css │ ├── App.tsx │ ├── assets │ │ └── react.svg │ ├── components │ │ ├── About.tsx │ │ ├── Contact.tsx │ │ ├── Error404.tsx │ │ └── Home.tsx │ ├── index.css │ ├── main.tsx │ ├── routes.tsx │ └── vite-env.d.ts │ ├── tsconfig.json │ ├── tsconfig.node.json │ ├── vite.config.ts │ └── yarn.lock ├── Chapter11 ├── context-api │ ├── .gitignore │ ├── index.html │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.css │ │ ├── assets │ │ │ └── react.svg │ │ ├── components │ │ │ ├── App.css │ │ │ ├── App.tsx │ │ │ └── Issues.tsx │ │ ├── contexts │ │ │ └── Issue.tsx │ │ ├── index.css │ │ ├── main.tsx │ │ └── vite-env.d.ts │ ├── tsconfig.json │ ├── tsconfig.node.json │ ├── vite.config.ts │ └── yarn.lock ├── react-suspense-with-swr │ ├── .gitignore │ ├── index.html │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.css │ │ ├── assets │ │ │ └── react.svg │ │ ├── components │ │ │ ├── App.tsx │ │ │ └── Pokemon │ │ │ │ ├── LoadingSkeleton.tsx │ │ │ │ ├── PokeContainer.tsx │ │ │ │ ├── Pokedex.tsx │ │ │ │ ├── Pokemon.styled.ts │ │ │ │ ├── Pokemon.tsx │ │ │ │ └── fetcher.ts │ │ ├── index.css │ │ ├── main.tsx │ │ └── vite-env.d.ts │ ├── tsconfig.json │ ├── tsconfig.node.json │ ├── vite.config.ts │ └── yarn.lock └── redux-toolkit │ ├── .gitignore │ ├── index.html │ ├── package.json │ ├── public │ └── vite.svg │ ├── src │ ├── App.css │ ├── Counter.tsx │ ├── assets │ │ └── react.svg │ ├── counterSlice.ts │ ├── index.css │ ├── main.tsx │ ├── rootReducer.ts │ ├── store.ts │ └── vite-env.d.ts │ ├── tsconfig.json │ ├── tsconfig.node.json │ ├── vite.config.ts │ └── yarn.lock ├── Chapter12 ├── data-fetching │ ├── .babelrc │ ├── .gitignore │ ├── dist │ │ ├── public │ │ │ └── bundle.js │ │ └── server.js │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── App.tsx │ │ ├── client.tsx │ │ ├── declarations.d.ts │ │ ├── server.tsx │ │ └── template.ts │ ├── tsconfig.json │ └── webpack.config.js ├── next │ ├── .gitignore │ ├── next-env.d.ts │ ├── package-lock.json │ ├── package.json │ ├── pages │ │ └── index.tsx │ └── tsconfig.json └── server-side-rendering │ ├── .babelrc │ ├── .gitignore │ ├── dist │ ├── public │ │ └── bundle.js │ └── server.js │ ├── package-lock.json │ ├── package.json │ ├── src │ ├── App.tsx │ ├── client.tsx │ ├── declarations.d.ts │ ├── server.tsx │ └── template.ts │ ├── tsconfig.json │ └── webpack.config.js ├── Chapter13 └── graphql │ ├── .nvm │ ├── backend │ ├── .env │ ├── .env.example │ ├── .gitignore │ ├── apps.json │ ├── config │ │ ├── config.json │ │ └── index.ts │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── graphql │ │ │ ├── resolvers │ │ │ │ ├── index.ts │ │ │ │ └── user.ts │ │ │ └── types │ │ │ │ ├── Scalar.ts │ │ │ │ ├── User.ts │ │ │ │ └── index.ts │ │ ├── index.ts │ │ ├── lib │ │ │ ├── auth.ts │ │ │ └── jwt.ts │ │ ├── models │ │ │ ├── User.ts │ │ │ └── index.ts │ │ └── types │ │ │ ├── index.ts │ │ │ ├── interfaces.ts │ │ │ └── types.ts │ └── tsconfig.json │ └── frontend │ ├── .babelrc │ ├── .editorconfig │ ├── .env.example │ ├── .gitignore │ ├── .prettierrc │ ├── apps.json │ ├── package-lock.json │ ├── package.json │ ├── src │ ├── client │ │ ├── AppRoutes.tsx │ │ ├── components │ │ │ ├── dashboard │ │ │ │ ├── Dashboard.tsx │ │ │ │ └── DashboardLayout.tsx │ │ │ └── users │ │ │ │ ├── Login.styled.ts │ │ │ │ ├── Login.tsx │ │ │ │ └── LoginLayout.tsx │ │ ├── contexts │ │ │ └── user.tsx │ │ ├── graphql │ │ │ └── user │ │ │ │ ├── getUser.query.ts │ │ │ │ └── login.mutation.ts │ │ ├── index.html │ │ ├── index.tsx │ │ └── pages │ │ │ ├── dashboard.tsx │ │ │ ├── error404.tsx │ │ │ ├── home.tsx │ │ │ └── login.tsx │ ├── config.ts │ └── server │ │ ├── devServer.ts │ │ ├── html.ts │ │ ├── index.ts │ │ ├── lib │ │ ├── jwt.ts │ │ └── middlewares │ │ │ └── user.ts │ │ └── server.ts │ ├── tsconfig.json │ ├── webpack.config.ts │ └── webpack │ ├── loadPresets.ts │ ├── presets │ ├── webpack.client.ts │ └── webpack.server.ts │ ├── webpack.common.ts │ ├── webpack.development.ts │ ├── webpack.production.ts │ └── webpack.types.ts ├── Chapter14 ├── monorepo │ ├── .editorconfig │ ├── .eslintignore │ ├── .eslintrc.yml │ ├── .gitignore │ ├── .nvmrc │ ├── .prettierignore │ ├── .prettierrc.yml │ ├── .vscode │ │ ├── extensions.json │ │ └── settings.json │ ├── README.md │ ├── package-lock.json │ ├── package.json │ └── packages │ │ ├── api │ │ ├── index.js │ │ └── package.json │ │ └── frontend │ │ ├── index.js │ │ └── package.json └── web-creator │ ├── .editorconfig │ ├── .eslintignore │ ├── .eslintrc.yml │ ├── .gitignore │ ├── .nvmrc │ ├── .prettierignore │ ├── .prettierrc.yml │ ├── .vscode │ ├── extensions.json │ └── settings.json │ ├── README.md │ ├── package-lock.json │ ├── package.json │ ├── packages │ ├── api │ │ ├── .env.example │ │ ├── package.json │ │ ├── src │ │ │ ├── config.ts │ │ │ ├── graphql │ │ │ │ ├── resolvers │ │ │ │ │ └── user.ts │ │ │ │ └── types │ │ │ │ │ ├── Error.ts │ │ │ │ │ ├── Scalar.ts │ │ │ │ │ └── User.ts │ │ │ ├── index.ts │ │ │ ├── models │ │ │ │ └── User.ts │ │ │ ├── services │ │ │ │ ├── crm │ │ │ │ │ ├── config.ts │ │ │ │ │ ├── graphql │ │ │ │ │ │ ├── resolvers │ │ │ │ │ │ │ ├── guest.ts │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── types │ │ │ │ │ │ │ ├── Guest.ts │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── models │ │ │ │ │ │ ├── Guest.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── seeds │ │ │ │ │ │ └── index.ts │ │ │ │ └── default │ │ │ │ │ └── config.ts │ │ │ └── types │ │ │ │ ├── config.ts │ │ │ │ ├── index.ts │ │ │ │ ├── model.ts │ │ │ │ └── sequelize.ts │ │ └── tsconfig.json │ ├── authentication │ │ ├── package.json │ │ ├── src │ │ │ ├── authentication.ts │ │ │ └── index.ts │ │ └── tsconfig.json │ ├── design-system │ │ ├── global.d.ts │ │ ├── package.json │ │ ├── sandbox │ │ │ ├── App.styled.ts │ │ │ ├── App.tsx │ │ │ ├── Content.tsx │ │ │ ├── GlobalStyles.tsx │ │ │ ├── Sidebar.tsx │ │ │ ├── bg.png │ │ │ ├── fonts │ │ │ │ └── poppins.ts │ │ │ ├── global.d.ts │ │ │ ├── index.html │ │ │ ├── index.tsx │ │ │ └── stories.tsx │ │ ├── src │ │ │ ├── components │ │ │ │ ├── Alert │ │ │ │ │ ├── Alert.stories.tsx │ │ │ │ │ ├── Alert.styled.ts │ │ │ │ │ ├── Alert.tsx │ │ │ │ │ └── index.ts │ │ │ │ ├── Avatar │ │ │ │ │ ├── Avatar.stories.tsx │ │ │ │ │ ├── Avatar.styled.ts │ │ │ │ │ ├── Avatar.tsx │ │ │ │ │ └── index.ts │ │ │ │ ├── Badge │ │ │ │ │ ├── Badge.stories.tsx │ │ │ │ │ ├── Badge.styled.ts │ │ │ │ │ ├── Badge.tsx │ │ │ │ │ └── index.ts │ │ │ │ ├── Breadcrumb │ │ │ │ │ ├── Breadcrumb.stories.tsx │ │ │ │ │ ├── Breadcrumb.styled.ts │ │ │ │ │ ├── Breadcrumb.tsx │ │ │ │ │ └── index.ts │ │ │ │ ├── Button │ │ │ │ │ ├── Button.stories.tsx │ │ │ │ │ ├── Button.styled.ts │ │ │ │ │ ├── Button.tsx │ │ │ │ │ └── index.ts │ │ │ │ ├── Calendar │ │ │ │ │ ├── Calendar.stories.tsx │ │ │ │ │ ├── Calendar.styled.ts │ │ │ │ │ ├── Calendar.tsx │ │ │ │ │ └── index.ts │ │ │ │ ├── Checkbox │ │ │ │ │ ├── Checkbox.stories.tsx │ │ │ │ │ ├── Checkbox.styled.ts │ │ │ │ │ ├── Checkbox.tsx │ │ │ │ │ └── index.ts │ │ │ │ ├── DayPicker │ │ │ │ │ ├── DayPicker.stories.tsx │ │ │ │ │ ├── DayPicker.styled.ts │ │ │ │ │ ├── DayPicker.tsx │ │ │ │ │ └── index.ts │ │ │ │ ├── Dialog │ │ │ │ │ ├── Dialog.stories.tsx │ │ │ │ │ ├── Dialog.styled.ts │ │ │ │ │ ├── Dialog.tsx │ │ │ │ │ ├── icons │ │ │ │ │ │ └── close.svg │ │ │ │ │ └── index.ts │ │ │ │ ├── GlobalStyles │ │ │ │ │ ├── GlobalStyles.tsx │ │ │ │ │ ├── fonts │ │ │ │ │ │ └── poppins.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── Icon │ │ │ │ │ ├── Icon.tsx │ │ │ │ │ ├── icons │ │ │ │ │ │ ├── feather │ │ │ │ │ │ │ ├── alert-circle.svg │ │ │ │ │ │ │ ├── alert-octagon.svg │ │ │ │ │ │ │ ├── alert-triangle.svg │ │ │ │ │ │ │ ├── align-center.svg │ │ │ │ │ │ │ ├── align-justify.svg │ │ │ │ │ │ │ ├── align-left.svg │ │ │ │ │ │ │ ├── align-right.svg │ │ │ │ │ │ │ ├── archive.svg │ │ │ │ │ │ │ ├── arrow-down-circle.svg │ │ │ │ │ │ │ ├── arrow-down-left.svg │ │ │ │ │ │ │ ├── arrow-down-right.svg │ │ │ │ │ │ │ ├── arrow-down.svg │ │ │ │ │ │ │ ├── arrow-left-circle.svg │ │ │ │ │ │ │ ├── arrow-left.svg │ │ │ │ │ │ │ ├── arrow-right-circle.svg │ │ │ │ │ │ │ ├── arrow-right.svg │ │ │ │ │ │ │ ├── arrow-up-circle.svg │ │ │ │ │ │ │ ├── arrow-up-left.svg │ │ │ │ │ │ │ ├── arrow-up-right.svg │ │ │ │ │ │ │ ├── arrow-up.svg │ │ │ │ │ │ │ ├── at-sign.svg │ │ │ │ │ │ │ ├── award.svg │ │ │ │ │ │ │ ├── bar-chart-2.svg │ │ │ │ │ │ │ ├── bar-chart.svg │ │ │ │ │ │ │ ├── bell-off.svg │ │ │ │ │ │ │ ├── bell.svg │ │ │ │ │ │ │ ├── bold.svg │ │ │ │ │ │ │ ├── book-open.svg │ │ │ │ │ │ │ ├── book.svg │ │ │ │ │ │ │ ├── bookmark.svg │ │ │ │ │ │ │ ├── box.svg │ │ │ │ │ │ │ ├── briefcase.svg │ │ │ │ │ │ │ ├── calendar.svg │ │ │ │ │ │ │ ├── camera-off.svg │ │ │ │ │ │ │ ├── camera.svg │ │ │ │ │ │ │ ├── check-circle.svg │ │ │ │ │ │ │ ├── check-square.svg │ │ │ │ │ │ │ ├── check.svg │ │ │ │ │ │ │ ├── chevron-down.svg │ │ │ │ │ │ │ ├── chevron-left.svg │ │ │ │ │ │ │ ├── chevron-right.svg │ │ │ │ │ │ │ ├── chevron-up.svg │ │ │ │ │ │ │ ├── chevrons-down.svg │ │ │ │ │ │ │ ├── chevrons-left.svg │ │ │ │ │ │ │ ├── chevrons-right.svg │ │ │ │ │ │ │ ├── chevrons-up.svg │ │ │ │ │ │ │ ├── circle.svg │ │ │ │ │ │ │ ├── clipboard.svg │ │ │ │ │ │ │ ├── clock.svg │ │ │ │ │ │ │ ├── cloud-off.svg │ │ │ │ │ │ │ ├── code.svg │ │ │ │ │ │ │ ├── coffee.svg │ │ │ │ │ │ │ ├── columns.svg │ │ │ │ │ │ │ ├── command.svg │ │ │ │ │ │ │ ├── copy.svg │ │ │ │ │ │ │ ├── cpu.svg │ │ │ │ │ │ │ ├── credit-card.svg │ │ │ │ │ │ │ ├── crop.svg │ │ │ │ │ │ │ ├── crosshair.svg │ │ │ │ │ │ │ ├── database.svg │ │ │ │ │ │ │ ├── delete.svg │ │ │ │ │ │ │ ├── disc.svg │ │ │ │ │ │ │ ├── dollar-sign.svg │ │ │ │ │ │ │ ├── download-cloud.svg │ │ │ │ │ │ │ ├── download.svg │ │ │ │ │ │ │ ├── droplet.svg │ │ │ │ │ │ │ ├── edit-2.svg │ │ │ │ │ │ │ ├── edit-3.svg │ │ │ │ │ │ │ ├── edit.svg │ │ │ │ │ │ │ ├── external-link.svg │ │ │ │ │ │ │ ├── eye-off.svg │ │ │ │ │ │ │ ├── eye.svg │ │ │ │ │ │ │ ├── facebook.svg │ │ │ │ │ │ │ ├── fast-forward.svg │ │ │ │ │ │ │ ├── file-plus.svg │ │ │ │ │ │ │ ├── file-text.svg │ │ │ │ │ │ │ ├── file.svg │ │ │ │ │ │ │ ├── film.svg │ │ │ │ │ │ │ ├── flag.svg │ │ │ │ │ │ │ ├── gift.svg │ │ │ │ │ │ │ ├── git-branch.svg │ │ │ │ │ │ │ ├── git-commit.svg │ │ │ │ │ │ │ ├── git-merge.svg │ │ │ │ │ │ │ ├── git-pull-request.svg │ │ │ │ │ │ │ ├── github.svg │ │ │ │ │ │ │ ├── globe.svg │ │ │ │ │ │ │ ├── grid.svg │ │ │ │ │ │ │ ├── hash.svg │ │ │ │ │ │ │ ├── headphones.svg │ │ │ │ │ │ │ ├── heart.svg │ │ │ │ │ │ │ ├── help-circle.svg │ │ │ │ │ │ │ ├── home.svg │ │ │ │ │ │ │ ├── image.svg │ │ │ │ │ │ │ ├── italic.svg │ │ │ │ │ │ │ ├── key.svg │ │ │ │ │ │ │ ├── layers.svg │ │ │ │ │ │ │ ├── layout.svg │ │ │ │ │ │ │ ├── link-2.svg │ │ │ │ │ │ │ ├── link.svg │ │ │ │ │ │ │ ├── linkedin.svg │ │ │ │ │ │ │ ├── list.svg │ │ │ │ │ │ │ ├── loader.svg │ │ │ │ │ │ │ ├── lock.svg │ │ │ │ │ │ │ ├── log-in.svg │ │ │ │ │ │ │ ├── log-out.svg │ │ │ │ │ │ │ ├── mail.svg │ │ │ │ │ │ │ ├── map-pin.svg │ │ │ │ │ │ │ ├── map.svg │ │ │ │ │ │ │ ├── maximize-2.svg │ │ │ │ │ │ │ ├── maximize.svg │ │ │ │ │ │ │ ├── menu.svg │ │ │ │ │ │ │ ├── message-circle.svg │ │ │ │ │ │ │ ├── message-square.svg │ │ │ │ │ │ │ ├── mic-off.svg │ │ │ │ │ │ │ ├── mic.svg │ │ │ │ │ │ │ ├── minimize-2.svg │ │ │ │ │ │ │ ├── minimize.svg │ │ │ │ │ │ │ ├── minus-circle.svg │ │ │ │ │ │ │ ├── minus-square.svg │ │ │ │ │ │ │ ├── minus.svg │ │ │ │ │ │ │ ├── monitor.svg │ │ │ │ │ │ │ ├── moon.svg │ │ │ │ │ │ │ ├── more-horizontal.svg │ │ │ │ │ │ │ ├── more-vertical.svg │ │ │ │ │ │ │ ├── navigation.svg │ │ │ │ │ │ │ ├── package.svg │ │ │ │ │ │ │ ├── paperclip.svg │ │ │ │ │ │ │ ├── pause.svg │ │ │ │ │ │ │ ├── pie-chart.svg │ │ │ │ │ │ │ ├── play-circle.svg │ │ │ │ │ │ │ ├── play.svg │ │ │ │ │ │ │ ├── plus-circle.svg │ │ │ │ │ │ │ ├── plus-square.svg │ │ │ │ │ │ │ ├── plus.svg │ │ │ │ │ │ │ ├── power.svg │ │ │ │ │ │ │ ├── printer.svg │ │ │ │ │ │ │ ├── refresh-ccw.svg │ │ │ │ │ │ │ ├── refresh-cw.svg │ │ │ │ │ │ │ ├── repeat.svg │ │ │ │ │ │ │ ├── rewind.svg │ │ │ │ │ │ │ ├── rotate-ccw.svg │ │ │ │ │ │ │ ├── rotate-cw.svg │ │ │ │ │ │ │ ├── rss.svg │ │ │ │ │ │ │ ├── save.svg │ │ │ │ │ │ │ ├── scissors.svg │ │ │ │ │ │ │ ├── search.svg │ │ │ │ │ │ │ ├── send.svg │ │ │ │ │ │ │ ├── server.svg │ │ │ │ │ │ │ ├── settings.svg │ │ │ │ │ │ │ ├── share-2.svg │ │ │ │ │ │ │ ├── share.svg │ │ │ │ │ │ │ ├── shopping-cart.svg │ │ │ │ │ │ │ ├── sidebar.svg │ │ │ │ │ │ │ ├── slack.svg │ │ │ │ │ │ │ ├── slash.svg │ │ │ │ │ │ │ ├── sliders.svg │ │ │ │ │ │ │ ├── smartphone.svg │ │ │ │ │ │ │ ├── sun.svg │ │ │ │ │ │ │ ├── terminal.svg │ │ │ │ │ │ │ ├── thumbs-down.svg │ │ │ │ │ │ │ ├── thumbs-up.svg │ │ │ │ │ │ │ ├── toggle-left.svg │ │ │ │ │ │ │ ├── toggle-right.svg │ │ │ │ │ │ │ ├── tool.svg │ │ │ │ │ │ │ ├── trash-2.svg │ │ │ │ │ │ │ ├── trash.svg │ │ │ │ │ │ │ ├── twitter.svg │ │ │ │ │ │ │ ├── type.svg │ │ │ │ │ │ │ ├── underline.svg │ │ │ │ │ │ │ ├── unlock.svg │ │ │ │ │ │ │ ├── upload-cloud.svg │ │ │ │ │ │ │ ├── upload.svg │ │ │ │ │ │ │ ├── user-check.svg │ │ │ │ │ │ │ ├── user-minus.svg │ │ │ │ │ │ │ ├── user-plus.svg │ │ │ │ │ │ │ ├── user-x.svg │ │ │ │ │ │ │ ├── user.svg │ │ │ │ │ │ │ ├── users.svg │ │ │ │ │ │ │ ├── video-off.svg │ │ │ │ │ │ │ ├── video.svg │ │ │ │ │ │ │ ├── x-circle.svg │ │ │ │ │ │ │ ├── x-octagon.svg │ │ │ │ │ │ │ ├── x-square.svg │ │ │ │ │ │ │ ├── x.svg │ │ │ │ │ │ │ ├── youtube.svg │ │ │ │ │ │ │ ├── zoom-in.svg │ │ │ │ │ │ │ └── zoom-out.svg │ │ │ │ │ │ └── material │ │ │ │ │ │ │ └── g-translate.svg │ │ │ │ │ └── index.ts │ │ │ │ ├── Input │ │ │ │ │ ├── Input.stories.tsx │ │ │ │ │ ├── Input.styled.ts │ │ │ │ │ ├── Input.tsx │ │ │ │ │ └── index.ts │ │ │ │ ├── Pagination │ │ │ │ │ ├── Pagination.stories.tsx │ │ │ │ │ ├── Pagination.styled.ts │ │ │ │ │ ├── Pagination.tsx │ │ │ │ │ └── index.ts │ │ │ │ ├── Paper │ │ │ │ │ ├── Paper.stories.tsx │ │ │ │ │ ├── Paper.styled.ts │ │ │ │ │ ├── Paper.tsx │ │ │ │ │ └── index.ts │ │ │ │ ├── Radio │ │ │ │ │ ├── Radio.stories.tsx │ │ │ │ │ ├── Radio.styled.ts │ │ │ │ │ ├── Radio.tsx │ │ │ │ │ └── index.ts │ │ │ │ ├── RenderIf │ │ │ │ │ ├── RenderIf.stories.tsx │ │ │ │ │ ├── RenderIf.tsx │ │ │ │ │ └── index.ts │ │ │ │ ├── Select │ │ │ │ │ ├── Select.stories.tsx │ │ │ │ │ ├── Select.styled.tsx │ │ │ │ │ ├── Select.tsx │ │ │ │ │ └── index.ts │ │ │ │ ├── Spinner │ │ │ │ │ ├── Spinner.tsx │ │ │ │ │ ├── index.ts │ │ │ │ │ └── loaders │ │ │ │ │ │ └── rolling.svg │ │ │ │ ├── Svg │ │ │ │ │ ├── Arrow.tsx │ │ │ │ │ ├── Book.tsx │ │ │ │ │ ├── Calendar.tsx │ │ │ │ │ ├── Code.tsx │ │ │ │ │ ├── Database.tsx │ │ │ │ │ ├── Dollar.tsx │ │ │ │ │ ├── Download.tsx │ │ │ │ │ ├── Edit.tsx │ │ │ │ │ ├── External.tsx │ │ │ │ │ ├── Eye.tsx │ │ │ │ │ ├── EyeOff.tsx │ │ │ │ │ ├── Facebook.tsx │ │ │ │ │ ├── Globe.tsx │ │ │ │ │ ├── Home.tsx │ │ │ │ │ ├── Image.tsx │ │ │ │ │ ├── Link.tsx │ │ │ │ │ ├── Login.tsx │ │ │ │ │ ├── Logout.tsx │ │ │ │ │ ├── Menu.tsx │ │ │ │ │ ├── Moon.tsx │ │ │ │ │ ├── Plus.tsx │ │ │ │ │ ├── Power.tsx │ │ │ │ │ ├── Search.tsx │ │ │ │ │ ├── Settings.tsx │ │ │ │ │ ├── Share.tsx │ │ │ │ │ ├── Sun.tsx │ │ │ │ │ ├── Trash.tsx │ │ │ │ │ ├── Warning.tsx │ │ │ │ │ ├── WhatsApp.tsx │ │ │ │ │ ├── X.tsx │ │ │ │ │ └── index.ts │ │ │ │ ├── Switcher │ │ │ │ │ ├── Switcher.stories.tsx │ │ │ │ │ ├── Switcher.styled.ts │ │ │ │ │ ├── Switcher.tsx │ │ │ │ │ └── index.ts │ │ │ │ ├── Table │ │ │ │ │ ├── Table.stories.tsx │ │ │ │ │ ├── Table.styled.ts │ │ │ │ │ ├── Table.tsx │ │ │ │ │ └── index.ts │ │ │ │ ├── Tags │ │ │ │ │ ├── Tags.stories.tsx │ │ │ │ │ ├── Tags.styled.ts │ │ │ │ │ ├── Tags.tsx │ │ │ │ │ └── index.ts │ │ │ │ ├── Text │ │ │ │ │ ├── Text.stories.tsx │ │ │ │ │ ├── Text.styled.ts │ │ │ │ │ ├── Text.tsx │ │ │ │ │ └── index.ts │ │ │ │ ├── TextArea │ │ │ │ │ ├── TextArea.stories.tsx │ │ │ │ │ ├── TextArea.styled.ts │ │ │ │ │ ├── TextArea.tsx │ │ │ │ │ └── index.ts │ │ │ │ ├── TextField │ │ │ │ │ ├── TextField.stories.tsx │ │ │ │ │ ├── TextField.styled.ts │ │ │ │ │ ├── TextField.tsx │ │ │ │ │ └── index.ts │ │ │ │ └── ThemeToggler │ │ │ │ │ ├── ThemeToggler.tsx │ │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ ├── theme │ │ │ │ ├── breakpoints.ts │ │ │ │ ├── cssVariables.ts │ │ │ │ ├── index.ts │ │ │ │ ├── palettes │ │ │ │ │ ├── darkPalette.ts │ │ │ │ │ ├── lightPalette.ts │ │ │ │ │ └── namedColors.ts │ │ │ │ ├── theme.ts │ │ │ │ └── utils.ts │ │ │ ├── types │ │ │ │ ├── alignment.ts │ │ │ │ ├── calc.ts │ │ │ │ ├── fontSize.ts │ │ │ │ ├── fontWeight.ts │ │ │ │ ├── global.d.ts │ │ │ │ ├── index.ts │ │ │ │ ├── shape.ts │ │ │ │ ├── size.ts │ │ │ │ ├── sizes.ts │ │ │ │ ├── theme.ts │ │ │ │ ├── typography.ts │ │ │ │ ├── unit.ts │ │ │ │ └── variant.ts │ │ │ └── usePrevious.ts │ │ └── tsconfig.json │ ├── devtools │ │ ├── package.json │ │ ├── src │ │ │ ├── cli │ │ │ │ └── log.ts │ │ │ ├── index.ts │ │ │ └── webpack │ │ │ │ ├── webpack.common.ts │ │ │ │ ├── webpack.development.ts │ │ │ │ ├── webpack.production.ts │ │ │ │ └── webpack.types.ts │ │ └── tsconfig.json │ ├── frontend │ │ ├── .babelrc │ │ ├── next-env.d.ts │ │ ├── next.config.js │ │ ├── package.json │ │ ├── public │ │ │ ├── .gitkeep │ │ │ └── images │ │ │ │ └── characters │ │ │ │ ├── boy.png │ │ │ │ └── girl.png │ │ ├── src │ │ │ ├── components │ │ │ │ ├── ApolloConnector.tsx │ │ │ │ ├── ErrorPage │ │ │ │ │ ├── ErrorPage.styled.ts │ │ │ │ │ ├── ErrorPage.tsx │ │ │ │ │ └── index.ts │ │ │ │ ├── GlobalStyles │ │ │ │ │ ├── GlobalStyles.tsx │ │ │ │ │ └── index.ts │ │ │ │ ├── Login │ │ │ │ │ ├── Login.styled.ts │ │ │ │ │ ├── Login.tsx │ │ │ │ │ └── index.ts │ │ │ │ └── Switcher.tsx │ │ │ ├── config.ts │ │ │ ├── contexts │ │ │ │ ├── apolloClient.ts │ │ │ │ ├── form.tsx │ │ │ │ └── user.tsx │ │ │ ├── graphql │ │ │ │ ├── client.ts │ │ │ │ └── user │ │ │ │ │ ├── getUser.query.ts │ │ │ │ │ └── login.mutation.ts │ │ │ ├── lib │ │ │ │ └── middlewares │ │ │ │ │ └── user.ts │ │ │ ├── pages │ │ │ │ ├── [page] │ │ │ │ │ ├── [...params].tsx │ │ │ │ │ └── index.tsx │ │ │ │ ├── _app.tsx │ │ │ │ ├── _document.tsx │ │ │ │ └── index.tsx │ │ │ ├── server.ts │ │ │ ├── sites │ │ │ │ ├── blank-page │ │ │ │ │ └── config.ts │ │ │ │ ├── codejobs │ │ │ │ │ ├── config.ts │ │ │ │ │ ├── pages │ │ │ │ │ │ ├── dashboard │ │ │ │ │ │ │ └── index.tsx │ │ │ │ │ │ ├── index.tsx │ │ │ │ │ │ └── login.tsx │ │ │ │ │ ├── server │ │ │ │ │ │ ├── routerParams.tsx │ │ │ │ │ │ └── siteServerSideProps.ts │ │ │ │ │ ├── static │ │ │ │ │ │ └── images │ │ │ │ │ │ │ └── isotype.png │ │ │ │ │ └── switcher.tsx │ │ │ │ └── san-pancho │ │ │ │ │ ├── config.ts │ │ │ │ │ ├── graphql │ │ │ │ │ └── guest │ │ │ │ │ │ └── getGuests.query.ts │ │ │ │ │ ├── pages │ │ │ │ │ ├── dashboard │ │ │ │ │ │ └── index.tsx │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── login.tsx │ │ │ │ │ ├── server │ │ │ │ │ ├── routerParams.ts │ │ │ │ │ └── siteServerSideProps.ts │ │ │ │ │ ├── static │ │ │ │ │ ├── .gitkeep │ │ │ │ │ └── images │ │ │ │ │ │ ├── isotype.png │ │ │ │ │ │ └── logo.png │ │ │ │ │ └── switcher.tsx │ │ │ └── types │ │ │ │ ├── config.ts │ │ │ │ ├── global.d.ts │ │ │ │ └── index.ts │ │ └── tsconfig.json │ └── utils │ │ ├── package.json │ │ ├── src │ │ ├── index.ts │ │ └── utils │ │ │ ├── base64.ts │ │ │ ├── calendar.ts │ │ │ ├── capitalize.ts │ │ │ ├── chunk.ts │ │ │ ├── cookies.ts │ │ │ ├── cx.ts │ │ │ ├── dates.ts │ │ │ ├── forEach.ts │ │ │ ├── format.ts │ │ │ ├── graphql.ts │ │ │ ├── is.tsx │ │ │ ├── keys.ts │ │ │ ├── object.ts │ │ │ ├── pluralify.ts │ │ │ ├── rtl.ts │ │ │ ├── security.ts │ │ │ ├── slug.ts │ │ │ ├── time.ts │ │ │ ├── ts.ts │ │ │ ├── types.ts │ │ │ ├── url.ts │ │ │ ├── uuid.ts │ │ │ └── values.ts │ │ └── tsconfig.json │ ├── tsconfig.common.json │ ├── tsconfig.json │ └── webpack.config.ts ├── Chapter15 └── keys │ ├── .gitignore │ ├── index.html │ ├── package.json │ ├── public │ └── vite.svg │ ├── src │ ├── App.css │ ├── App.tsx │ ├── assets │ │ └── react.svg │ ├── components │ │ └── List │ │ │ └── index.tsx │ ├── index.css │ ├── main.tsx │ └── vite-env.d.ts │ ├── tsconfig.json │ ├── tsconfig.node.json │ ├── vite.config.ts │ └── yarn.lock ├── Chapter16 ├── events │ ├── .babelrc │ ├── .eslintrc │ ├── .gitignore │ ├── .prettierrc │ ├── jest.config.js │ ├── package-lock.json │ ├── package.json │ ├── setUpTests.ts │ ├── src │ │ ├── components │ │ │ ├── App.tsx │ │ │ └── ShowInformation │ │ │ │ ├── index.test.tsx │ │ │ │ └── index.tsx │ │ ├── index.html │ │ └── index.tsx │ ├── tsconfig.json │ └── webpack.config.js ├── my-first-vite-project │ ├── .gitignore │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── App.css │ │ ├── App.tsx │ │ ├── assets │ │ │ └── react.svg │ │ ├── components │ │ │ └── Hello │ │ │ │ └── index.tsx │ │ ├── index.css │ │ ├── main.tsx │ │ └── vite-env.d.ts │ ├── tsconfig.json │ ├── tsconfig.node.json │ └── vite.config.ts └── testing │ ├── .babelrc │ ├── .eslintrc │ ├── .gitignore │ ├── .prettierrc │ ├── jest.config.js │ ├── package-lock.json │ ├── package.json │ ├── setUpTests.ts │ ├── src │ ├── components │ │ ├── App.tsx │ │ └── Hello │ │ │ ├── index.test.tsx │ │ │ └── index.tsx │ ├── index.html │ └── index.tsx │ ├── tsconfig.json │ └── webpack.config.js ├── LICENSE └── README.md /Chapter01/toUpperCase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter01/toUpperCase.ts -------------------------------------------------------------------------------- /Chapter01/toggle.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter01/toggle.html -------------------------------------------------------------------------------- /Chapter04/geolocation/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/geolocation/.gitignore -------------------------------------------------------------------------------- /Chapter04/geolocation/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/geolocation/index.html -------------------------------------------------------------------------------- /Chapter04/geolocation/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/geolocation/package.json -------------------------------------------------------------------------------- /Chapter04/geolocation/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/geolocation/public/vite.svg -------------------------------------------------------------------------------- /Chapter04/geolocation/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/geolocation/src/App.css -------------------------------------------------------------------------------- /Chapter04/geolocation/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/geolocation/src/App.tsx -------------------------------------------------------------------------------- /Chapter04/geolocation/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/geolocation/src/assets/react.svg -------------------------------------------------------------------------------- /Chapter04/geolocation/src/components/Geolocation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/geolocation/src/components/Geolocation.tsx -------------------------------------------------------------------------------- /Chapter04/geolocation/src/components/GeolocationContainer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/geolocation/src/components/GeolocationContainer.tsx -------------------------------------------------------------------------------- /Chapter04/geolocation/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/geolocation/src/index.css -------------------------------------------------------------------------------- /Chapter04/geolocation/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/geolocation/src/main.tsx -------------------------------------------------------------------------------- /Chapter04/geolocation/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter04/geolocation/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/geolocation/tsconfig.json -------------------------------------------------------------------------------- /Chapter04/geolocation/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/geolocation/tsconfig.node.json -------------------------------------------------------------------------------- /Chapter04/geolocation/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/geolocation/vite.config.ts -------------------------------------------------------------------------------- /Chapter04/geolocation/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/geolocation/yarn.lock -------------------------------------------------------------------------------- /Chapter04/hocs/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/hocs/.gitignore -------------------------------------------------------------------------------- /Chapter04/hocs/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/hocs/index.html -------------------------------------------------------------------------------- /Chapter04/hocs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/hocs/package.json -------------------------------------------------------------------------------- /Chapter04/hocs/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/hocs/public/vite.svg -------------------------------------------------------------------------------- /Chapter04/hocs/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/hocs/src/App.css -------------------------------------------------------------------------------- /Chapter04/hocs/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/hocs/src/App.tsx -------------------------------------------------------------------------------- /Chapter04/hocs/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/hocs/src/assets/react.svg -------------------------------------------------------------------------------- /Chapter04/hocs/src/components/MyComponent/WithInnerWidth.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/hocs/src/components/MyComponent/WithInnerWidth.tsx -------------------------------------------------------------------------------- /Chapter04/hocs/src/components/MyComponent/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/hocs/src/components/MyComponent/index.tsx -------------------------------------------------------------------------------- /Chapter04/hocs/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/hocs/src/index.css -------------------------------------------------------------------------------- /Chapter04/hocs/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/hocs/src/main.tsx -------------------------------------------------------------------------------- /Chapter04/hocs/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter04/hocs/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/hocs/tsconfig.json -------------------------------------------------------------------------------- /Chapter04/hocs/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/hocs/tsconfig.node.json -------------------------------------------------------------------------------- /Chapter04/hocs/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/hocs/vite.config.ts -------------------------------------------------------------------------------- /Chapter04/hocs/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter04/hocs/yarn.lock -------------------------------------------------------------------------------- /Chapter05/animations/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/animations/.gitignore -------------------------------------------------------------------------------- /Chapter05/animations/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/animations/index.html -------------------------------------------------------------------------------- /Chapter05/animations/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/animations/package.json -------------------------------------------------------------------------------- /Chapter05/animations/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/animations/public/vite.svg -------------------------------------------------------------------------------- /Chapter05/animations/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/animations/src/App.css -------------------------------------------------------------------------------- /Chapter05/animations/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/animations/src/App.tsx -------------------------------------------------------------------------------- /Chapter05/animations/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/animations/src/assets/react.svg -------------------------------------------------------------------------------- /Chapter05/animations/src/components/Transition/Transition.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/animations/src/components/Transition/Transition.css -------------------------------------------------------------------------------- /Chapter05/animations/src/components/Transition/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/animations/src/components/Transition/index.tsx -------------------------------------------------------------------------------- /Chapter05/animations/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/animations/src/index.css -------------------------------------------------------------------------------- /Chapter05/animations/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/animations/src/main.tsx -------------------------------------------------------------------------------- /Chapter05/animations/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter05/animations/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/animations/tsconfig.json -------------------------------------------------------------------------------- /Chapter05/animations/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/animations/tsconfig.node.json -------------------------------------------------------------------------------- /Chapter05/animations/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/animations/vite.config.ts -------------------------------------------------------------------------------- /Chapter05/animations/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/animations/yarn.lock -------------------------------------------------------------------------------- /Chapter05/controlled-components/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/controlled-components/.gitignore -------------------------------------------------------------------------------- /Chapter05/controlled-components/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/controlled-components/index.html -------------------------------------------------------------------------------- /Chapter05/controlled-components/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/controlled-components/package.json -------------------------------------------------------------------------------- /Chapter05/controlled-components/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/controlled-components/public/vite.svg -------------------------------------------------------------------------------- /Chapter05/controlled-components/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/controlled-components/src/App.css -------------------------------------------------------------------------------- /Chapter05/controlled-components/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/controlled-components/src/App.tsx -------------------------------------------------------------------------------- /Chapter05/controlled-components/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/controlled-components/src/assets/react.svg -------------------------------------------------------------------------------- /Chapter05/controlled-components/src/components/Controlled/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/controlled-components/src/components/Controlled/index.tsx -------------------------------------------------------------------------------- /Chapter05/controlled-components/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/controlled-components/src/index.css -------------------------------------------------------------------------------- /Chapter05/controlled-components/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/controlled-components/src/main.tsx -------------------------------------------------------------------------------- /Chapter05/controlled-components/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter05/controlled-components/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/controlled-components/tsconfig.json -------------------------------------------------------------------------------- /Chapter05/controlled-components/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/controlled-components/tsconfig.node.json -------------------------------------------------------------------------------- /Chapter05/controlled-components/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/controlled-components/vite.config.ts -------------------------------------------------------------------------------- /Chapter05/controlled-components/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/controlled-components/yarn.lock -------------------------------------------------------------------------------- /Chapter05/event-switch/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/event-switch/.gitignore -------------------------------------------------------------------------------- /Chapter05/event-switch/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/event-switch/index.html -------------------------------------------------------------------------------- /Chapter05/event-switch/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/event-switch/package.json -------------------------------------------------------------------------------- /Chapter05/event-switch/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/event-switch/public/vite.svg -------------------------------------------------------------------------------- /Chapter05/event-switch/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/event-switch/src/App.css -------------------------------------------------------------------------------- /Chapter05/event-switch/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/event-switch/src/App.tsx -------------------------------------------------------------------------------- /Chapter05/event-switch/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/event-switch/src/assets/react.svg -------------------------------------------------------------------------------- /Chapter05/event-switch/src/components/Button/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/event-switch/src/components/Button/index.tsx -------------------------------------------------------------------------------- /Chapter05/event-switch/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/event-switch/src/index.css -------------------------------------------------------------------------------- /Chapter05/event-switch/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/event-switch/src/main.tsx -------------------------------------------------------------------------------- /Chapter05/event-switch/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter05/event-switch/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/event-switch/tsconfig.json -------------------------------------------------------------------------------- /Chapter05/event-switch/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/event-switch/tsconfig.node.json -------------------------------------------------------------------------------- /Chapter05/event-switch/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/event-switch/vite.config.ts -------------------------------------------------------------------------------- /Chapter05/event-switch/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/event-switch/yarn.lock -------------------------------------------------------------------------------- /Chapter05/refs/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/refs/.gitignore -------------------------------------------------------------------------------- /Chapter05/refs/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/refs/index.html -------------------------------------------------------------------------------- /Chapter05/refs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/refs/package.json -------------------------------------------------------------------------------- /Chapter05/refs/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/refs/public/vite.svg -------------------------------------------------------------------------------- /Chapter05/refs/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/refs/src/App.css -------------------------------------------------------------------------------- /Chapter05/refs/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/refs/src/App.tsx -------------------------------------------------------------------------------- /Chapter05/refs/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/refs/src/assets/react.svg -------------------------------------------------------------------------------- /Chapter05/refs/src/components/Focus/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/refs/src/components/Focus/index.tsx -------------------------------------------------------------------------------- /Chapter05/refs/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/refs/src/index.css -------------------------------------------------------------------------------- /Chapter05/refs/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/refs/src/main.tsx -------------------------------------------------------------------------------- /Chapter05/refs/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter05/refs/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/refs/tsconfig.json -------------------------------------------------------------------------------- /Chapter05/refs/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/refs/tsconfig.node.json -------------------------------------------------------------------------------- /Chapter05/refs/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/refs/vite.config.ts -------------------------------------------------------------------------------- /Chapter05/refs/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/refs/yarn.lock -------------------------------------------------------------------------------- /Chapter05/svg/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/svg/.gitignore -------------------------------------------------------------------------------- /Chapter05/svg/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/svg/index.html -------------------------------------------------------------------------------- /Chapter05/svg/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/svg/package.json -------------------------------------------------------------------------------- /Chapter05/svg/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/svg/public/vite.svg -------------------------------------------------------------------------------- /Chapter05/svg/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/svg/src/App.css -------------------------------------------------------------------------------- /Chapter05/svg/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/svg/src/App.tsx -------------------------------------------------------------------------------- /Chapter05/svg/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/svg/src/assets/react.svg -------------------------------------------------------------------------------- /Chapter05/svg/src/components/Circles/Circle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/svg/src/components/Circles/Circle.tsx -------------------------------------------------------------------------------- /Chapter05/svg/src/components/Circles/RedCircle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/svg/src/components/Circles/RedCircle.tsx -------------------------------------------------------------------------------- /Chapter05/svg/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/svg/src/index.css -------------------------------------------------------------------------------- /Chapter05/svg/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/svg/src/main.tsx -------------------------------------------------------------------------------- /Chapter05/svg/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter05/svg/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/svg/tsconfig.json -------------------------------------------------------------------------------- /Chapter05/svg/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/svg/tsconfig.node.json -------------------------------------------------------------------------------- /Chapter05/svg/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/svg/vite.config.ts -------------------------------------------------------------------------------- /Chapter05/svg/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/svg/yarn.lock -------------------------------------------------------------------------------- /Chapter05/uncontrolled-components/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/uncontrolled-components/.gitignore -------------------------------------------------------------------------------- /Chapter05/uncontrolled-components/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/uncontrolled-components/index.html -------------------------------------------------------------------------------- /Chapter05/uncontrolled-components/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/uncontrolled-components/package.json -------------------------------------------------------------------------------- /Chapter05/uncontrolled-components/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/uncontrolled-components/public/vite.svg -------------------------------------------------------------------------------- /Chapter05/uncontrolled-components/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/uncontrolled-components/src/App.css -------------------------------------------------------------------------------- /Chapter05/uncontrolled-components/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/uncontrolled-components/src/App.tsx -------------------------------------------------------------------------------- /Chapter05/uncontrolled-components/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/uncontrolled-components/src/assets/react.svg -------------------------------------------------------------------------------- /Chapter05/uncontrolled-components/src/components/Uncontrolled/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/uncontrolled-components/src/components/Uncontrolled/index.tsx -------------------------------------------------------------------------------- /Chapter05/uncontrolled-components/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/uncontrolled-components/src/index.css -------------------------------------------------------------------------------- /Chapter05/uncontrolled-components/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/uncontrolled-components/src/main.tsx -------------------------------------------------------------------------------- /Chapter05/uncontrolled-components/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter05/uncontrolled-components/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/uncontrolled-components/tsconfig.json -------------------------------------------------------------------------------- /Chapter05/uncontrolled-components/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/uncontrolled-components/tsconfig.node.json -------------------------------------------------------------------------------- /Chapter05/uncontrolled-components/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/uncontrolled-components/vite.config.ts -------------------------------------------------------------------------------- /Chapter05/uncontrolled-components/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter05/uncontrolled-components/yarn.lock -------------------------------------------------------------------------------- /Chapter06/css-modules/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/css-modules/.babelrc -------------------------------------------------------------------------------- /Chapter06/css-modules/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/css-modules/.gitignore -------------------------------------------------------------------------------- /Chapter06/css-modules/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/css-modules/package.json -------------------------------------------------------------------------------- /Chapter06/css-modules/src/declarations.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/css-modules/src/declarations.d.ts -------------------------------------------------------------------------------- /Chapter06/css-modules/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/css-modules/src/index.css -------------------------------------------------------------------------------- /Chapter06/css-modules/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/css-modules/src/index.html -------------------------------------------------------------------------------- /Chapter06/css-modules/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/css-modules/src/index.tsx -------------------------------------------------------------------------------- /Chapter06/css-modules/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/css-modules/tsconfig.json -------------------------------------------------------------------------------- /Chapter06/css-modules/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/css-modules/webpack.config.js -------------------------------------------------------------------------------- /Chapter06/css-modules/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/css-modules/yarn.lock -------------------------------------------------------------------------------- /Chapter06/inline-styles/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/inline-styles/.gitignore -------------------------------------------------------------------------------- /Chapter06/inline-styles/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/inline-styles/index.html -------------------------------------------------------------------------------- /Chapter06/inline-styles/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/inline-styles/package.json -------------------------------------------------------------------------------- /Chapter06/inline-styles/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/inline-styles/public/vite.svg -------------------------------------------------------------------------------- /Chapter06/inline-styles/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/inline-styles/src/App.css -------------------------------------------------------------------------------- /Chapter06/inline-styles/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/inline-styles/src/App.tsx -------------------------------------------------------------------------------- /Chapter06/inline-styles/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/inline-styles/src/assets/react.svg -------------------------------------------------------------------------------- /Chapter06/inline-styles/src/components/FontSize/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/inline-styles/src/components/FontSize/index.tsx -------------------------------------------------------------------------------- /Chapter06/inline-styles/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/inline-styles/src/index.css -------------------------------------------------------------------------------- /Chapter06/inline-styles/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/inline-styles/src/main.tsx -------------------------------------------------------------------------------- /Chapter06/inline-styles/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter06/inline-styles/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/inline-styles/tsconfig.json -------------------------------------------------------------------------------- /Chapter06/inline-styles/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/inline-styles/tsconfig.node.json -------------------------------------------------------------------------------- /Chapter06/inline-styles/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/inline-styles/vite.config.ts -------------------------------------------------------------------------------- /Chapter06/inline-styles/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/inline-styles/yarn.lock -------------------------------------------------------------------------------- /Chapter06/styled-components/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/styled-components/.babelrc -------------------------------------------------------------------------------- /Chapter06/styled-components/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/styled-components/.gitignore -------------------------------------------------------------------------------- /Chapter06/styled-components/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/styled-components/package.json -------------------------------------------------------------------------------- /Chapter06/styled-components/src/components/Button/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/styled-components/src/components/Button/index.tsx -------------------------------------------------------------------------------- /Chapter06/styled-components/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/styled-components/src/index.html -------------------------------------------------------------------------------- /Chapter06/styled-components/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/styled-components/src/index.tsx -------------------------------------------------------------------------------- /Chapter06/styled-components/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/styled-components/tsconfig.json -------------------------------------------------------------------------------- /Chapter06/styled-components/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/styled-components/webpack.config.js -------------------------------------------------------------------------------- /Chapter06/styled-components/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter06/styled-components/yarn.lock -------------------------------------------------------------------------------- /Chapter07/counter/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/counter/.gitignore -------------------------------------------------------------------------------- /Chapter07/counter/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/counter/index.html -------------------------------------------------------------------------------- /Chapter07/counter/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/counter/package.json -------------------------------------------------------------------------------- /Chapter07/counter/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/counter/public/vite.svg -------------------------------------------------------------------------------- /Chapter07/counter/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/counter/src/App.css -------------------------------------------------------------------------------- /Chapter07/counter/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/counter/src/App.tsx -------------------------------------------------------------------------------- /Chapter07/counter/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/counter/src/assets/react.svg -------------------------------------------------------------------------------- /Chapter07/counter/src/components/Counter/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/counter/src/components/Counter/index.tsx -------------------------------------------------------------------------------- /Chapter07/counter/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/counter/src/index.css -------------------------------------------------------------------------------- /Chapter07/counter/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/counter/src/main.tsx -------------------------------------------------------------------------------- /Chapter07/counter/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter07/counter/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/counter/tsconfig.json -------------------------------------------------------------------------------- /Chapter07/counter/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/counter/tsconfig.node.json -------------------------------------------------------------------------------- /Chapter07/counter/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/counter/vite.config.ts -------------------------------------------------------------------------------- /Chapter07/counter/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/counter/yarn.lock -------------------------------------------------------------------------------- /Chapter07/keys/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/keys/.gitignore -------------------------------------------------------------------------------- /Chapter07/keys/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/keys/index.html -------------------------------------------------------------------------------- /Chapter07/keys/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/keys/package.json -------------------------------------------------------------------------------- /Chapter07/keys/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/keys/public/vite.svg -------------------------------------------------------------------------------- /Chapter07/keys/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/keys/src/App.css -------------------------------------------------------------------------------- /Chapter07/keys/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/keys/src/App.tsx -------------------------------------------------------------------------------- /Chapter07/keys/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/keys/src/assets/react.svg -------------------------------------------------------------------------------- /Chapter07/keys/src/components/List/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/keys/src/components/List/index.tsx -------------------------------------------------------------------------------- /Chapter07/keys/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/keys/src/index.css -------------------------------------------------------------------------------- /Chapter07/keys/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/keys/src/main.tsx -------------------------------------------------------------------------------- /Chapter07/keys/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter07/keys/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/keys/tsconfig.json -------------------------------------------------------------------------------- /Chapter07/keys/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/keys/tsconfig.node.json -------------------------------------------------------------------------------- /Chapter07/keys/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/keys/vite.config.ts -------------------------------------------------------------------------------- /Chapter07/keys/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter07/keys/yarn.lock -------------------------------------------------------------------------------- /Chapter08/1-react-hooks/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/1-react-hooks/.gitignore -------------------------------------------------------------------------------- /Chapter08/1-react-hooks/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/1-react-hooks/index.html -------------------------------------------------------------------------------- /Chapter08/1-react-hooks/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/1-react-hooks/package.json -------------------------------------------------------------------------------- /Chapter08/1-react-hooks/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/1-react-hooks/public/vite.svg -------------------------------------------------------------------------------- /Chapter08/1-react-hooks/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/1-react-hooks/src/App.css -------------------------------------------------------------------------------- /Chapter08/1-react-hooks/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/1-react-hooks/src/App.tsx -------------------------------------------------------------------------------- /Chapter08/1-react-hooks/src/Counter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/1-react-hooks/src/Counter.tsx -------------------------------------------------------------------------------- /Chapter08/1-react-hooks/src/Issues.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/1-react-hooks/src/Issues.tsx -------------------------------------------------------------------------------- /Chapter08/1-react-hooks/src/Issues2.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/1-react-hooks/src/Issues2.tsx -------------------------------------------------------------------------------- /Chapter08/1-react-hooks/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/1-react-hooks/src/assets/react.svg -------------------------------------------------------------------------------- /Chapter08/1-react-hooks/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/1-react-hooks/src/index.css -------------------------------------------------------------------------------- /Chapter08/1-react-hooks/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/1-react-hooks/src/main.tsx -------------------------------------------------------------------------------- /Chapter08/1-react-hooks/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter08/1-react-hooks/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/1-react-hooks/tsconfig.json -------------------------------------------------------------------------------- /Chapter08/1-react-hooks/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/1-react-hooks/tsconfig.node.json -------------------------------------------------------------------------------- /Chapter08/1-react-hooks/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/1-react-hooks/vite.config.ts -------------------------------------------------------------------------------- /Chapter08/1-react-hooks/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/1-react-hooks/yarn.lock -------------------------------------------------------------------------------- /Chapter08/2-todo/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/2-todo/.gitignore -------------------------------------------------------------------------------- /Chapter08/2-todo/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/2-todo/index.html -------------------------------------------------------------------------------- /Chapter08/2-todo/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/2-todo/package.json -------------------------------------------------------------------------------- /Chapter08/2-todo/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/2-todo/public/vite.svg -------------------------------------------------------------------------------- /Chapter08/2-todo/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/2-todo/src/App.css -------------------------------------------------------------------------------- /Chapter08/2-todo/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/2-todo/src/App.tsx -------------------------------------------------------------------------------- /Chapter08/2-todo/src/List.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/2-todo/src/List.tsx -------------------------------------------------------------------------------- /Chapter08/2-todo/src/Task.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/2-todo/src/Task.tsx -------------------------------------------------------------------------------- /Chapter08/2-todo/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/2-todo/src/assets/react.svg -------------------------------------------------------------------------------- /Chapter08/2-todo/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/2-todo/src/index.css -------------------------------------------------------------------------------- /Chapter08/2-todo/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/2-todo/src/main.tsx -------------------------------------------------------------------------------- /Chapter08/2-todo/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter08/2-todo/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/2-todo/tsconfig.json -------------------------------------------------------------------------------- /Chapter08/2-todo/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/2-todo/tsconfig.node.json -------------------------------------------------------------------------------- /Chapter08/2-todo/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/2-todo/vite.config.ts -------------------------------------------------------------------------------- /Chapter08/2-todo/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/2-todo/yarn.lock -------------------------------------------------------------------------------- /Chapter08/3-reducer/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/3-reducer/.gitignore -------------------------------------------------------------------------------- /Chapter08/3-reducer/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/3-reducer/index.html -------------------------------------------------------------------------------- /Chapter08/3-reducer/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/3-reducer/package.json -------------------------------------------------------------------------------- /Chapter08/3-reducer/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/3-reducer/public/vite.svg -------------------------------------------------------------------------------- /Chapter08/3-reducer/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/3-reducer/src/App.css -------------------------------------------------------------------------------- /Chapter08/3-reducer/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/3-reducer/src/App.tsx -------------------------------------------------------------------------------- /Chapter08/3-reducer/src/Notes.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/3-reducer/src/Notes.tsx -------------------------------------------------------------------------------- /Chapter08/3-reducer/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/3-reducer/src/assets/react.svg -------------------------------------------------------------------------------- /Chapter08/3-reducer/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/3-reducer/src/index.css -------------------------------------------------------------------------------- /Chapter08/3-reducer/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/3-reducer/src/main.tsx -------------------------------------------------------------------------------- /Chapter08/3-reducer/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter08/3-reducer/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/3-reducer/tsconfig.json -------------------------------------------------------------------------------- /Chapter08/3-reducer/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/3-reducer/tsconfig.node.json -------------------------------------------------------------------------------- /Chapter08/3-reducer/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/3-reducer/vite.config.ts -------------------------------------------------------------------------------- /Chapter08/3-reducer/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter08/3-reducer/yarn.lock -------------------------------------------------------------------------------- /Chapter09/react-router-v6.4/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-v6.4/.gitignore -------------------------------------------------------------------------------- /Chapter09/react-router-v6.4/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-v6.4/index.html -------------------------------------------------------------------------------- /Chapter09/react-router-v6.4/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-v6.4/package-lock.json -------------------------------------------------------------------------------- /Chapter09/react-router-v6.4/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-v6.4/package.json -------------------------------------------------------------------------------- /Chapter09/react-router-v6.4/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-v6.4/public/vite.svg -------------------------------------------------------------------------------- /Chapter09/react-router-v6.4/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-v6.4/src/App.css -------------------------------------------------------------------------------- /Chapter09/react-router-v6.4/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-v6.4/src/App.tsx -------------------------------------------------------------------------------- /Chapter09/react-router-v6.4/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-v6.4/src/assets/react.svg -------------------------------------------------------------------------------- /Chapter09/react-router-v6.4/src/components/About/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-v6.4/src/components/About/index.tsx -------------------------------------------------------------------------------- /Chapter09/react-router-v6.4/src/components/Error404/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-v6.4/src/components/Error404/index.tsx -------------------------------------------------------------------------------- /Chapter09/react-router-v6.4/src/components/Home/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-v6.4/src/components/Home/index.tsx -------------------------------------------------------------------------------- /Chapter09/react-router-v6.4/src/components/Pokemons/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-v6.4/src/components/Pokemons/index.tsx -------------------------------------------------------------------------------- /Chapter09/react-router-v6.4/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-v6.4/src/index.css -------------------------------------------------------------------------------- /Chapter09/react-router-v6.4/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-v6.4/src/main.tsx -------------------------------------------------------------------------------- /Chapter09/react-router-v6.4/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter09/react-router-v6.4/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-v6.4/tsconfig.json -------------------------------------------------------------------------------- /Chapter09/react-router-v6.4/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-v6.4/tsconfig.node.json -------------------------------------------------------------------------------- /Chapter09/react-router-v6.4/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-v6.4/vite.config.ts -------------------------------------------------------------------------------- /Chapter09/react-router-v6.4/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-v6.4/yarn.lock -------------------------------------------------------------------------------- /Chapter09/react-router-with-params/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-with-params/.gitignore -------------------------------------------------------------------------------- /Chapter09/react-router-with-params/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-with-params/index.html -------------------------------------------------------------------------------- /Chapter09/react-router-with-params/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-with-params/package.json -------------------------------------------------------------------------------- /Chapter09/react-router-with-params/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-with-params/public/vite.svg -------------------------------------------------------------------------------- /Chapter09/react-router-with-params/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-with-params/src/App.css -------------------------------------------------------------------------------- /Chapter09/react-router-with-params/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-with-params/src/App.tsx -------------------------------------------------------------------------------- /Chapter09/react-router-with-params/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-with-params/src/assets/react.svg -------------------------------------------------------------------------------- /Chapter09/react-router-with-params/src/components/About/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-with-params/src/components/About/index.tsx -------------------------------------------------------------------------------- /Chapter09/react-router-with-params/src/components/Contact/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-with-params/src/components/Contact/index.tsx -------------------------------------------------------------------------------- /Chapter09/react-router-with-params/src/components/Contacts/Contacts.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-with-params/src/components/Contacts/Contacts.css -------------------------------------------------------------------------------- /Chapter09/react-router-with-params/src/components/Contacts/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-with-params/src/components/Contacts/index.tsx -------------------------------------------------------------------------------- /Chapter09/react-router-with-params/src/components/Error404/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-with-params/src/components/Error404/index.tsx -------------------------------------------------------------------------------- /Chapter09/react-router-with-params/src/components/Home/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-with-params/src/components/Home/index.tsx -------------------------------------------------------------------------------- /Chapter09/react-router-with-params/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-with-params/src/index.css -------------------------------------------------------------------------------- /Chapter09/react-router-with-params/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-with-params/src/main.tsx -------------------------------------------------------------------------------- /Chapter09/react-router-with-params/src/routes.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-with-params/src/routes.tsx -------------------------------------------------------------------------------- /Chapter09/react-router-with-params/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter09/react-router-with-params/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-with-params/tsconfig.json -------------------------------------------------------------------------------- /Chapter09/react-router-with-params/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-with-params/tsconfig.node.json -------------------------------------------------------------------------------- /Chapter09/react-router-with-params/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-with-params/vite.config.ts -------------------------------------------------------------------------------- /Chapter09/react-router-with-params/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router-with-params/yarn.lock -------------------------------------------------------------------------------- /Chapter09/react-router/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router/.gitignore -------------------------------------------------------------------------------- /Chapter09/react-router/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router/index.html -------------------------------------------------------------------------------- /Chapter09/react-router/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router/package.json -------------------------------------------------------------------------------- /Chapter09/react-router/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router/public/vite.svg -------------------------------------------------------------------------------- /Chapter09/react-router/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router/src/App.css -------------------------------------------------------------------------------- /Chapter09/react-router/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router/src/App.tsx -------------------------------------------------------------------------------- /Chapter09/react-router/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router/src/assets/react.svg -------------------------------------------------------------------------------- /Chapter09/react-router/src/components/About.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router/src/components/About.tsx -------------------------------------------------------------------------------- /Chapter09/react-router/src/components/Contact.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router/src/components/Contact.tsx -------------------------------------------------------------------------------- /Chapter09/react-router/src/components/Error404.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router/src/components/Error404.tsx -------------------------------------------------------------------------------- /Chapter09/react-router/src/components/Home.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router/src/components/Home.tsx -------------------------------------------------------------------------------- /Chapter09/react-router/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router/src/index.css -------------------------------------------------------------------------------- /Chapter09/react-router/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router/src/main.tsx -------------------------------------------------------------------------------- /Chapter09/react-router/src/routes.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router/src/routes.tsx -------------------------------------------------------------------------------- /Chapter09/react-router/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter09/react-router/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router/tsconfig.json -------------------------------------------------------------------------------- /Chapter09/react-router/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router/tsconfig.node.json -------------------------------------------------------------------------------- /Chapter09/react-router/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router/vite.config.ts -------------------------------------------------------------------------------- /Chapter09/react-router/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter09/react-router/yarn.lock -------------------------------------------------------------------------------- /Chapter11/context-api/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/context-api/.gitignore -------------------------------------------------------------------------------- /Chapter11/context-api/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/context-api/index.html -------------------------------------------------------------------------------- /Chapter11/context-api/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/context-api/package.json -------------------------------------------------------------------------------- /Chapter11/context-api/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/context-api/public/vite.svg -------------------------------------------------------------------------------- /Chapter11/context-api/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/context-api/src/App.css -------------------------------------------------------------------------------- /Chapter11/context-api/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/context-api/src/assets/react.svg -------------------------------------------------------------------------------- /Chapter11/context-api/src/components/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/context-api/src/components/App.css -------------------------------------------------------------------------------- /Chapter11/context-api/src/components/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/context-api/src/components/App.tsx -------------------------------------------------------------------------------- /Chapter11/context-api/src/components/Issues.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/context-api/src/components/Issues.tsx -------------------------------------------------------------------------------- /Chapter11/context-api/src/contexts/Issue.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/context-api/src/contexts/Issue.tsx -------------------------------------------------------------------------------- /Chapter11/context-api/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/context-api/src/index.css -------------------------------------------------------------------------------- /Chapter11/context-api/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/context-api/src/main.tsx -------------------------------------------------------------------------------- /Chapter11/context-api/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter11/context-api/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/context-api/tsconfig.json -------------------------------------------------------------------------------- /Chapter11/context-api/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/context-api/tsconfig.node.json -------------------------------------------------------------------------------- /Chapter11/context-api/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/context-api/vite.config.ts -------------------------------------------------------------------------------- /Chapter11/context-api/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/context-api/yarn.lock -------------------------------------------------------------------------------- /Chapter11/react-suspense-with-swr/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/react-suspense-with-swr/.gitignore -------------------------------------------------------------------------------- /Chapter11/react-suspense-with-swr/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/react-suspense-with-swr/index.html -------------------------------------------------------------------------------- /Chapter11/react-suspense-with-swr/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/react-suspense-with-swr/package.json -------------------------------------------------------------------------------- /Chapter11/react-suspense-with-swr/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/react-suspense-with-swr/public/vite.svg -------------------------------------------------------------------------------- /Chapter11/react-suspense-with-swr/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/react-suspense-with-swr/src/App.css -------------------------------------------------------------------------------- /Chapter11/react-suspense-with-swr/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/react-suspense-with-swr/src/assets/react.svg -------------------------------------------------------------------------------- /Chapter11/react-suspense-with-swr/src/components/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/react-suspense-with-swr/src/components/App.tsx -------------------------------------------------------------------------------- /Chapter11/react-suspense-with-swr/src/components/Pokemon/PokeContainer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/react-suspense-with-swr/src/components/Pokemon/PokeContainer.tsx -------------------------------------------------------------------------------- /Chapter11/react-suspense-with-swr/src/components/Pokemon/Pokedex.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/react-suspense-with-swr/src/components/Pokemon/Pokedex.tsx -------------------------------------------------------------------------------- /Chapter11/react-suspense-with-swr/src/components/Pokemon/Pokemon.styled.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/react-suspense-with-swr/src/components/Pokemon/Pokemon.styled.ts -------------------------------------------------------------------------------- /Chapter11/react-suspense-with-swr/src/components/Pokemon/Pokemon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/react-suspense-with-swr/src/components/Pokemon/Pokemon.tsx -------------------------------------------------------------------------------- /Chapter11/react-suspense-with-swr/src/components/Pokemon/fetcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/react-suspense-with-swr/src/components/Pokemon/fetcher.ts -------------------------------------------------------------------------------- /Chapter11/react-suspense-with-swr/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/react-suspense-with-swr/src/index.css -------------------------------------------------------------------------------- /Chapter11/react-suspense-with-swr/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/react-suspense-with-swr/src/main.tsx -------------------------------------------------------------------------------- /Chapter11/react-suspense-with-swr/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter11/react-suspense-with-swr/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/react-suspense-with-swr/tsconfig.json -------------------------------------------------------------------------------- /Chapter11/react-suspense-with-swr/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/react-suspense-with-swr/tsconfig.node.json -------------------------------------------------------------------------------- /Chapter11/react-suspense-with-swr/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/react-suspense-with-swr/vite.config.ts -------------------------------------------------------------------------------- /Chapter11/react-suspense-with-swr/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/react-suspense-with-swr/yarn.lock -------------------------------------------------------------------------------- /Chapter11/redux-toolkit/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/redux-toolkit/.gitignore -------------------------------------------------------------------------------- /Chapter11/redux-toolkit/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/redux-toolkit/index.html -------------------------------------------------------------------------------- /Chapter11/redux-toolkit/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/redux-toolkit/package.json -------------------------------------------------------------------------------- /Chapter11/redux-toolkit/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/redux-toolkit/public/vite.svg -------------------------------------------------------------------------------- /Chapter11/redux-toolkit/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/redux-toolkit/src/App.css -------------------------------------------------------------------------------- /Chapter11/redux-toolkit/src/Counter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/redux-toolkit/src/Counter.tsx -------------------------------------------------------------------------------- /Chapter11/redux-toolkit/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/redux-toolkit/src/assets/react.svg -------------------------------------------------------------------------------- /Chapter11/redux-toolkit/src/counterSlice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/redux-toolkit/src/counterSlice.ts -------------------------------------------------------------------------------- /Chapter11/redux-toolkit/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/redux-toolkit/src/index.css -------------------------------------------------------------------------------- /Chapter11/redux-toolkit/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/redux-toolkit/src/main.tsx -------------------------------------------------------------------------------- /Chapter11/redux-toolkit/src/rootReducer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/redux-toolkit/src/rootReducer.ts -------------------------------------------------------------------------------- /Chapter11/redux-toolkit/src/store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/redux-toolkit/src/store.ts -------------------------------------------------------------------------------- /Chapter11/redux-toolkit/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter11/redux-toolkit/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/redux-toolkit/tsconfig.json -------------------------------------------------------------------------------- /Chapter11/redux-toolkit/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/redux-toolkit/tsconfig.node.json -------------------------------------------------------------------------------- /Chapter11/redux-toolkit/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/redux-toolkit/vite.config.ts -------------------------------------------------------------------------------- /Chapter11/redux-toolkit/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter11/redux-toolkit/yarn.lock -------------------------------------------------------------------------------- /Chapter12/data-fetching/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/data-fetching/.babelrc -------------------------------------------------------------------------------- /Chapter12/data-fetching/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/data-fetching/.gitignore -------------------------------------------------------------------------------- /Chapter12/data-fetching/dist/public/bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/data-fetching/dist/public/bundle.js -------------------------------------------------------------------------------- /Chapter12/data-fetching/dist/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/data-fetching/dist/server.js -------------------------------------------------------------------------------- /Chapter12/data-fetching/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/data-fetching/package-lock.json -------------------------------------------------------------------------------- /Chapter12/data-fetching/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/data-fetching/package.json -------------------------------------------------------------------------------- /Chapter12/data-fetching/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/data-fetching/src/App.tsx -------------------------------------------------------------------------------- /Chapter12/data-fetching/src/client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/data-fetching/src/client.tsx -------------------------------------------------------------------------------- /Chapter12/data-fetching/src/declarations.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/data-fetching/src/declarations.d.ts -------------------------------------------------------------------------------- /Chapter12/data-fetching/src/server.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/data-fetching/src/server.tsx -------------------------------------------------------------------------------- /Chapter12/data-fetching/src/template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/data-fetching/src/template.ts -------------------------------------------------------------------------------- /Chapter12/data-fetching/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/data-fetching/tsconfig.json -------------------------------------------------------------------------------- /Chapter12/data-fetching/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/data-fetching/webpack.config.js -------------------------------------------------------------------------------- /Chapter12/next/.gitignore: -------------------------------------------------------------------------------- 1 | .next 2 | node_modules -------------------------------------------------------------------------------- /Chapter12/next/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/next/next-env.d.ts -------------------------------------------------------------------------------- /Chapter12/next/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/next/package-lock.json -------------------------------------------------------------------------------- /Chapter12/next/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/next/package.json -------------------------------------------------------------------------------- /Chapter12/next/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/next/pages/index.tsx -------------------------------------------------------------------------------- /Chapter12/next/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/next/tsconfig.json -------------------------------------------------------------------------------- /Chapter12/server-side-rendering/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/server-side-rendering/.babelrc -------------------------------------------------------------------------------- /Chapter12/server-side-rendering/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/server-side-rendering/.gitignore -------------------------------------------------------------------------------- /Chapter12/server-side-rendering/dist/public/bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/server-side-rendering/dist/public/bundle.js -------------------------------------------------------------------------------- /Chapter12/server-side-rendering/dist/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/server-side-rendering/dist/server.js -------------------------------------------------------------------------------- /Chapter12/server-side-rendering/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/server-side-rendering/package-lock.json -------------------------------------------------------------------------------- /Chapter12/server-side-rendering/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/server-side-rendering/package.json -------------------------------------------------------------------------------- /Chapter12/server-side-rendering/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/server-side-rendering/src/App.tsx -------------------------------------------------------------------------------- /Chapter12/server-side-rendering/src/client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/server-side-rendering/src/client.tsx -------------------------------------------------------------------------------- /Chapter12/server-side-rendering/src/declarations.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/server-side-rendering/src/declarations.d.ts -------------------------------------------------------------------------------- /Chapter12/server-side-rendering/src/server.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/server-side-rendering/src/server.tsx -------------------------------------------------------------------------------- /Chapter12/server-side-rendering/src/template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/server-side-rendering/src/template.ts -------------------------------------------------------------------------------- /Chapter12/server-side-rendering/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/server-side-rendering/tsconfig.json -------------------------------------------------------------------------------- /Chapter12/server-side-rendering/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter12/server-side-rendering/webpack.config.js -------------------------------------------------------------------------------- /Chapter13/graphql/.nvm: -------------------------------------------------------------------------------- 1 | v18 -------------------------------------------------------------------------------- /Chapter13/graphql/backend/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/backend/.env -------------------------------------------------------------------------------- /Chapter13/graphql/backend/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/backend/.env.example -------------------------------------------------------------------------------- /Chapter13/graphql/backend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/backend/.gitignore -------------------------------------------------------------------------------- /Chapter13/graphql/backend/apps.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/backend/apps.json -------------------------------------------------------------------------------- /Chapter13/graphql/backend/config/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/backend/config/config.json -------------------------------------------------------------------------------- /Chapter13/graphql/backend/config/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/backend/config/index.ts -------------------------------------------------------------------------------- /Chapter13/graphql/backend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/backend/package-lock.json -------------------------------------------------------------------------------- /Chapter13/graphql/backend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/backend/package.json -------------------------------------------------------------------------------- /Chapter13/graphql/backend/src/graphql/resolvers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/backend/src/graphql/resolvers/index.ts -------------------------------------------------------------------------------- /Chapter13/graphql/backend/src/graphql/resolvers/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/backend/src/graphql/resolvers/user.ts -------------------------------------------------------------------------------- /Chapter13/graphql/backend/src/graphql/types/Scalar.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/backend/src/graphql/types/Scalar.ts -------------------------------------------------------------------------------- /Chapter13/graphql/backend/src/graphql/types/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/backend/src/graphql/types/User.ts -------------------------------------------------------------------------------- /Chapter13/graphql/backend/src/graphql/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/backend/src/graphql/types/index.ts -------------------------------------------------------------------------------- /Chapter13/graphql/backend/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/backend/src/index.ts -------------------------------------------------------------------------------- /Chapter13/graphql/backend/src/lib/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/backend/src/lib/auth.ts -------------------------------------------------------------------------------- /Chapter13/graphql/backend/src/lib/jwt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/backend/src/lib/jwt.ts -------------------------------------------------------------------------------- /Chapter13/graphql/backend/src/models/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/backend/src/models/User.ts -------------------------------------------------------------------------------- /Chapter13/graphql/backend/src/models/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/backend/src/models/index.ts -------------------------------------------------------------------------------- /Chapter13/graphql/backend/src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/backend/src/types/index.ts -------------------------------------------------------------------------------- /Chapter13/graphql/backend/src/types/interfaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/backend/src/types/interfaces.ts -------------------------------------------------------------------------------- /Chapter13/graphql/backend/src/types/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/backend/src/types/types.ts -------------------------------------------------------------------------------- /Chapter13/graphql/backend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/backend/tsconfig.json -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/.babelrc -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/.editorconfig -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/.env.example: -------------------------------------------------------------------------------- 1 | .env.example 2 | -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/.gitignore -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/.prettierrc -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/apps.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/apps.json -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/package-lock.json -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/package.json -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/src/client/AppRoutes.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/src/client/AppRoutes.tsx -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/src/client/components/dashboard/Dashboard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/src/client/components/dashboard/Dashboard.tsx -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/src/client/components/users/Login.styled.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/src/client/components/users/Login.styled.ts -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/src/client/components/users/Login.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/src/client/components/users/Login.tsx -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/src/client/components/users/LoginLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/src/client/components/users/LoginLayout.tsx -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/src/client/contexts/user.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/src/client/contexts/user.tsx -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/src/client/graphql/user/getUser.query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/src/client/graphql/user/getUser.query.ts -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/src/client/graphql/user/login.mutation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/src/client/graphql/user/login.mutation.ts -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/src/client/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/src/client/index.html -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/src/client/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/src/client/index.tsx -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/src/client/pages/dashboard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/src/client/pages/dashboard.tsx -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/src/client/pages/error404.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/src/client/pages/error404.tsx -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/src/client/pages/home.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/src/client/pages/home.tsx -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/src/client/pages/login.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/src/client/pages/login.tsx -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/src/config.ts -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/src/server/devServer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/src/server/devServer.ts -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/src/server/html.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/src/server/html.ts -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/src/server/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/src/server/index.ts -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/src/server/lib/jwt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/src/server/lib/jwt.ts -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/src/server/lib/middlewares/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/src/server/lib/middlewares/user.ts -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/src/server/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/src/server/server.ts -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/tsconfig.json -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/webpack.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/webpack.config.ts -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/webpack/loadPresets.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/webpack/loadPresets.ts -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/webpack/presets/webpack.client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/webpack/presets/webpack.client.ts -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/webpack/presets/webpack.server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/webpack/presets/webpack.server.ts -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/webpack/webpack.common.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/webpack/webpack.common.ts -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/webpack/webpack.development.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/webpack/webpack.development.ts -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/webpack/webpack.production.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/webpack/webpack.production.ts -------------------------------------------------------------------------------- /Chapter13/graphql/frontend/webpack/webpack.types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter13/graphql/frontend/webpack/webpack.types.ts -------------------------------------------------------------------------------- /Chapter14/monorepo/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/monorepo/.editorconfig -------------------------------------------------------------------------------- /Chapter14/monorepo/.eslintignore: -------------------------------------------------------------------------------- 1 | /dist/** 2 | /node_modules/** -------------------------------------------------------------------------------- /Chapter14/monorepo/.eslintrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/monorepo/.eslintrc.yml -------------------------------------------------------------------------------- /Chapter14/monorepo/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/monorepo/.gitignore -------------------------------------------------------------------------------- /Chapter14/monorepo/.nvmrc: -------------------------------------------------------------------------------- 1 | v18 2 | -------------------------------------------------------------------------------- /Chapter14/monorepo/.prettierignore: -------------------------------------------------------------------------------- 1 | build 2 | coverage 3 | dist 4 | node_modules -------------------------------------------------------------------------------- /Chapter14/monorepo/.prettierrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/monorepo/.prettierrc.yml -------------------------------------------------------------------------------- /Chapter14/monorepo/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/monorepo/.vscode/extensions.json -------------------------------------------------------------------------------- /Chapter14/monorepo/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/monorepo/.vscode/settings.json -------------------------------------------------------------------------------- /Chapter14/monorepo/README.md: -------------------------------------------------------------------------------- 1 | # site-builder -------------------------------------------------------------------------------- /Chapter14/monorepo/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/monorepo/package-lock.json -------------------------------------------------------------------------------- /Chapter14/monorepo/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/monorepo/package.json -------------------------------------------------------------------------------- /Chapter14/monorepo/packages/api/index.js: -------------------------------------------------------------------------------- 1 | module.exports = () => console.log("I'm the API package UPDATED") 2 | -------------------------------------------------------------------------------- /Chapter14/monorepo/packages/api/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/monorepo/packages/api/package.json -------------------------------------------------------------------------------- /Chapter14/monorepo/packages/frontend/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/monorepo/packages/frontend/index.js -------------------------------------------------------------------------------- /Chapter14/monorepo/packages/frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/monorepo/packages/frontend/package.json -------------------------------------------------------------------------------- /Chapter14/web-creator/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/.editorconfig -------------------------------------------------------------------------------- /Chapter14/web-creator/.eslintignore: -------------------------------------------------------------------------------- 1 | /dist/** 2 | /node_modules/** -------------------------------------------------------------------------------- /Chapter14/web-creator/.eslintrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/.eslintrc.yml -------------------------------------------------------------------------------- /Chapter14/web-creator/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/.gitignore -------------------------------------------------------------------------------- /Chapter14/web-creator/.nvmrc: -------------------------------------------------------------------------------- 1 | v18 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/.prettierignore: -------------------------------------------------------------------------------- 1 | build 2 | coverage 3 | dist 4 | node_modules -------------------------------------------------------------------------------- /Chapter14/web-creator/.prettierrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/.prettierrc.yml -------------------------------------------------------------------------------- /Chapter14/web-creator/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/.vscode/extensions.json -------------------------------------------------------------------------------- /Chapter14/web-creator/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/.vscode/settings.json -------------------------------------------------------------------------------- /Chapter14/web-creator/README.md: -------------------------------------------------------------------------------- 1 | # site-builder -------------------------------------------------------------------------------- /Chapter14/web-creator/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/package-lock.json -------------------------------------------------------------------------------- /Chapter14/web-creator/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/package.json -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/api/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/api/.env.example -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/api/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/api/package.json -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/api/src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/api/src/config.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/api/src/graphql/resolvers/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/api/src/graphql/resolvers/user.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/api/src/graphql/types/Error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/api/src/graphql/types/Error.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/api/src/graphql/types/Scalar.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/api/src/graphql/types/Scalar.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/api/src/graphql/types/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/api/src/graphql/types/User.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/api/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/api/src/index.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/api/src/models/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/api/src/models/User.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/api/src/services/crm/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/api/src/services/crm/config.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/api/src/services/crm/graphql/types/Guest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/api/src/services/crm/graphql/types/Guest.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/api/src/services/crm/graphql/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/api/src/services/crm/graphql/types/index.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/api/src/services/crm/models/Guest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/api/src/services/crm/models/Guest.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/api/src/services/crm/models/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/api/src/services/crm/models/index.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/api/src/services/crm/seeds/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/api/src/services/crm/seeds/index.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/api/src/services/default/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/api/src/services/default/config.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/api/src/types/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/api/src/types/config.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/api/src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/api/src/types/index.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/api/src/types/model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/api/src/types/model.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/api/src/types/sequelize.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/api/src/types/sequelize.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/api/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/api/tsconfig.json -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/authentication/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/authentication/package.json -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/authentication/src/authentication.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/authentication/src/authentication.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/authentication/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './authentication' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/authentication/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/authentication/tsconfig.json -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/global.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.png' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/package.json -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/sandbox/App.styled.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/sandbox/App.styled.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/sandbox/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/sandbox/App.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/sandbox/Content.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/sandbox/Content.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/sandbox/GlobalStyles.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/sandbox/GlobalStyles.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/sandbox/Sidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/sandbox/Sidebar.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/sandbox/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/sandbox/bg.png -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/sandbox/fonts/poppins.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/sandbox/fonts/poppins.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/sandbox/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/sandbox/global.d.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/sandbox/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/sandbox/index.html -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/sandbox/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/sandbox/index.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/sandbox/stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/sandbox/stories.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Alert/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Alert' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Avatar/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Avatar' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Badge/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Badge' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Breadcrumb/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Breadcrumb' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Button/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Button' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Calendar/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Calendar' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Checkbox/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Checkbox' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/DayPicker/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './DayPicker' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Dialog/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Dialog' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/GlobalStyles/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './GlobalStyles' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Icon/Icon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/components/Icon/Icon.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Icon/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Icon' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Input/index.ts: -------------------------------------------------------------------------------- 1 | export { default, Props } from './Input' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Pagination/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Pagination' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Paper/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Paper' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Radio/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Radio' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/RenderIf/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './RenderIf' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Select/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Select' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Spinner/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Spinner' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Svg/Arrow.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/components/Svg/Arrow.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Svg/Book.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/components/Svg/Book.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Svg/Code.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/components/Svg/Code.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Svg/Dollar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/components/Svg/Dollar.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Svg/Edit.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/components/Svg/Edit.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Svg/Eye.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/components/Svg/Eye.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Svg/EyeOff.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/components/Svg/EyeOff.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Svg/Globe.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/components/Svg/Globe.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Svg/Sun.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/components/Svg/Sun.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Svg/X.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/components/Svg/X.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Switcher/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Switcher' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Table/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Table' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Tags/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Tags' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/Text/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Text' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/TextField/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './TextField' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/components/ThemeToggler/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './ThemeToggler' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/index.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/theme/breakpoints.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/theme/breakpoints.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/theme/cssVariables.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/theme/cssVariables.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/theme/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/theme/index.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/theme/theme.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/theme/theme.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/theme/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/theme/utils.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/types/alignment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/types/alignment.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/types/calc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/types/calc.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/types/fontSize.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/types/fontSize.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/types/fontWeight.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/types/fontWeight.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/types/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/types/global.d.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/types/index.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/types/shape.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/types/shape.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/types/size.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/types/size.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/types/sizes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/types/sizes.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/types/theme.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/types/theme.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/types/typography.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/types/typography.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/types/unit.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/types/unit.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/types/variant.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/types/variant.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/src/usePrevious.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/src/usePrevious.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/design-system/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/design-system/tsconfig.json -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/devtools/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/devtools/package.json -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/devtools/src/cli/log.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/devtools/src/cli/log.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/devtools/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/devtools/src/index.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/devtools/src/webpack/webpack.common.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/devtools/src/webpack/webpack.common.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/devtools/src/webpack/webpack.types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/devtools/src/webpack/webpack.types.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/devtools/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/devtools/tsconfig.json -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/frontend/.babelrc -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/frontend/next-env.d.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/frontend/next.config.js -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/frontend/package.json -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/public/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/src/components/ErrorPage/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './ErrorPage' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/src/components/GlobalStyles/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './GlobalStyles' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/src/components/Login/Login.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/frontend/src/components/Login/Login.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/src/components/Login/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Login' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/src/components/Switcher.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/frontend/src/components/Switcher.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/frontend/src/config.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/src/contexts/apolloClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/frontend/src/contexts/apolloClient.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/src/contexts/form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/frontend/src/contexts/form.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/src/contexts/user.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/frontend/src/contexts/user.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/src/graphql/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/frontend/src/graphql/client.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/src/lib/middlewares/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/frontend/src/lib/middlewares/user.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/src/pages/[page]/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/frontend/src/pages/[page]/index.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/frontend/src/pages/_app.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/src/pages/_document.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/frontend/src/pages/_document.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/frontend/src/pages/index.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/frontend/src/server.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/src/sites/blank-page/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/frontend/src/sites/blank-page/config.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/src/sites/codejobs/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/frontend/src/sites/codejobs/config.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/src/sites/codejobs/switcher.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/frontend/src/sites/codejobs/switcher.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/src/sites/san-pancho/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/frontend/src/sites/san-pancho/config.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/src/sites/san-pancho/static/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/src/types/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/frontend/src/types/config.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/src/types/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/frontend/src/types/global.d.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/src/types/index.ts: -------------------------------------------------------------------------------- 1 | export * from './config' 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/frontend/tsconfig.json -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/utils/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/utils/package.json -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/utils/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/utils/src/index.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/utils/src/utils/base64.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/utils/src/utils/base64.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/utils/src/utils/calendar.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/utils/src/utils/calendar.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/utils/src/utils/capitalize.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/utils/src/utils/capitalize.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/utils/src/utils/chunk.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/utils/src/utils/chunk.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/utils/src/utils/cookies.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/utils/src/utils/cookies.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/utils/src/utils/cx.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/utils/src/utils/cx.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/utils/src/utils/dates.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/utils/src/utils/dates.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/utils/src/utils/forEach.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/utils/src/utils/forEach.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/utils/src/utils/format.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/utils/src/utils/format.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/utils/src/utils/graphql.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/utils/src/utils/graphql.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/utils/src/utils/is.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/utils/src/utils/is.tsx -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/utils/src/utils/keys.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/utils/src/utils/keys.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/utils/src/utils/object.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/utils/src/utils/object.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/utils/src/utils/pluralify.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/utils/src/utils/pluralify.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/utils/src/utils/rtl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/utils/src/utils/rtl.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/utils/src/utils/security.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/utils/src/utils/security.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/utils/src/utils/slug.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/utils/src/utils/slug.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/utils/src/utils/time.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/utils/src/utils/time.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/utils/src/utils/ts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/utils/src/utils/ts.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/utils/src/utils/types.ts: -------------------------------------------------------------------------------- 1 | export type ValueOf = T[keyof T] 2 | -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/utils/src/utils/url.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/utils/src/utils/url.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/utils/src/utils/uuid.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/utils/src/utils/uuid.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/utils/src/utils/values.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/utils/src/utils/values.ts -------------------------------------------------------------------------------- /Chapter14/web-creator/packages/utils/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/packages/utils/tsconfig.json -------------------------------------------------------------------------------- /Chapter14/web-creator/tsconfig.common.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/tsconfig.common.json -------------------------------------------------------------------------------- /Chapter14/web-creator/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/tsconfig.json -------------------------------------------------------------------------------- /Chapter14/web-creator/webpack.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter14/web-creator/webpack.config.ts -------------------------------------------------------------------------------- /Chapter15/keys/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter15/keys/.gitignore -------------------------------------------------------------------------------- /Chapter15/keys/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter15/keys/index.html -------------------------------------------------------------------------------- /Chapter15/keys/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter15/keys/package.json -------------------------------------------------------------------------------- /Chapter15/keys/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter15/keys/public/vite.svg -------------------------------------------------------------------------------- /Chapter15/keys/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter15/keys/src/App.css -------------------------------------------------------------------------------- /Chapter15/keys/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter15/keys/src/App.tsx -------------------------------------------------------------------------------- /Chapter15/keys/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter15/keys/src/assets/react.svg -------------------------------------------------------------------------------- /Chapter15/keys/src/components/List/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter15/keys/src/components/List/index.tsx -------------------------------------------------------------------------------- /Chapter15/keys/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter15/keys/src/index.css -------------------------------------------------------------------------------- /Chapter15/keys/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter15/keys/src/main.tsx -------------------------------------------------------------------------------- /Chapter15/keys/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter15/keys/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter15/keys/tsconfig.json -------------------------------------------------------------------------------- /Chapter15/keys/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter15/keys/tsconfig.node.json -------------------------------------------------------------------------------- /Chapter15/keys/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter15/keys/vite.config.ts -------------------------------------------------------------------------------- /Chapter15/keys/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter15/keys/yarn.lock -------------------------------------------------------------------------------- /Chapter16/events/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/events/.babelrc -------------------------------------------------------------------------------- /Chapter16/events/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/events/.eslintrc -------------------------------------------------------------------------------- /Chapter16/events/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/events/.gitignore -------------------------------------------------------------------------------- /Chapter16/events/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/events/.prettierrc -------------------------------------------------------------------------------- /Chapter16/events/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/events/jest.config.js -------------------------------------------------------------------------------- /Chapter16/events/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/events/package-lock.json -------------------------------------------------------------------------------- /Chapter16/events/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/events/package.json -------------------------------------------------------------------------------- /Chapter16/events/setUpTests.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom/extend-expect' 2 | -------------------------------------------------------------------------------- /Chapter16/events/src/components/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/events/src/components/App.tsx -------------------------------------------------------------------------------- /Chapter16/events/src/components/ShowInformation/index.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/events/src/components/ShowInformation/index.test.tsx -------------------------------------------------------------------------------- /Chapter16/events/src/components/ShowInformation/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/events/src/components/ShowInformation/index.tsx -------------------------------------------------------------------------------- /Chapter16/events/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/events/src/index.html -------------------------------------------------------------------------------- /Chapter16/events/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/events/src/index.tsx -------------------------------------------------------------------------------- /Chapter16/events/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/events/tsconfig.json -------------------------------------------------------------------------------- /Chapter16/events/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/events/webpack.config.js -------------------------------------------------------------------------------- /Chapter16/my-first-vite-project/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/my-first-vite-project/.gitignore -------------------------------------------------------------------------------- /Chapter16/my-first-vite-project/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/my-first-vite-project/index.html -------------------------------------------------------------------------------- /Chapter16/my-first-vite-project/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/my-first-vite-project/package-lock.json -------------------------------------------------------------------------------- /Chapter16/my-first-vite-project/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/my-first-vite-project/package.json -------------------------------------------------------------------------------- /Chapter16/my-first-vite-project/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/my-first-vite-project/public/vite.svg -------------------------------------------------------------------------------- /Chapter16/my-first-vite-project/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/my-first-vite-project/src/App.css -------------------------------------------------------------------------------- /Chapter16/my-first-vite-project/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/my-first-vite-project/src/App.tsx -------------------------------------------------------------------------------- /Chapter16/my-first-vite-project/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/my-first-vite-project/src/assets/react.svg -------------------------------------------------------------------------------- /Chapter16/my-first-vite-project/src/components/Hello/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/my-first-vite-project/src/components/Hello/index.tsx -------------------------------------------------------------------------------- /Chapter16/my-first-vite-project/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/my-first-vite-project/src/index.css -------------------------------------------------------------------------------- /Chapter16/my-first-vite-project/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/my-first-vite-project/src/main.tsx -------------------------------------------------------------------------------- /Chapter16/my-first-vite-project/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter16/my-first-vite-project/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/my-first-vite-project/tsconfig.json -------------------------------------------------------------------------------- /Chapter16/my-first-vite-project/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/my-first-vite-project/tsconfig.node.json -------------------------------------------------------------------------------- /Chapter16/my-first-vite-project/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/my-first-vite-project/vite.config.ts -------------------------------------------------------------------------------- /Chapter16/testing/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/testing/.babelrc -------------------------------------------------------------------------------- /Chapter16/testing/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/testing/.eslintrc -------------------------------------------------------------------------------- /Chapter16/testing/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/testing/.gitignore -------------------------------------------------------------------------------- /Chapter16/testing/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/testing/.prettierrc -------------------------------------------------------------------------------- /Chapter16/testing/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/testing/jest.config.js -------------------------------------------------------------------------------- /Chapter16/testing/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/testing/package-lock.json -------------------------------------------------------------------------------- /Chapter16/testing/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/testing/package.json -------------------------------------------------------------------------------- /Chapter16/testing/setUpTests.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom/extend-expect' 2 | -------------------------------------------------------------------------------- /Chapter16/testing/src/components/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/testing/src/components/App.tsx -------------------------------------------------------------------------------- /Chapter16/testing/src/components/Hello/index.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/testing/src/components/Hello/index.test.tsx -------------------------------------------------------------------------------- /Chapter16/testing/src/components/Hello/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/testing/src/components/Hello/index.tsx -------------------------------------------------------------------------------- /Chapter16/testing/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/testing/src/index.html -------------------------------------------------------------------------------- /Chapter16/testing/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/testing/src/index.tsx -------------------------------------------------------------------------------- /Chapter16/testing/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/testing/tsconfig.json -------------------------------------------------------------------------------- /Chapter16/testing/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/Chapter16/testing/webpack.config.js -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-18-Design-Patterns-and-Best-Practices-Fourth-Edition/HEAD/README.md --------------------------------------------------------------------------------