├── Chapter03 ├── 1-react-hooks │ ├── .eslintcache │ ├── .gitignore │ ├── README.md │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ ├── src │ │ ├── App.css │ │ ├── App.test.tsx │ │ ├── App.tsx │ │ ├── Counter.tsx │ │ ├── Issues.tsx │ │ ├── Issues2.tsx │ │ ├── index.css │ │ ├── index.tsx │ │ ├── logo.svg │ │ ├── react-app-env.d.ts │ │ ├── reportWebVitals.ts │ │ └── setupTests.ts │ ├── tsconfig.json │ └── yarn.lock ├── 2-todo │ ├── .eslintcache │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ ├── src │ │ ├── App.tsx │ │ ├── List.tsx │ │ ├── Task.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock └── 3-reducer │ ├── .eslintcache │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── public │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── robots.txt │ ├── src │ ├── App.tsx │ ├── Notes.tsx │ ├── index.tsx │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── Chapter04 ├── geolocation │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ ├── src │ │ ├── App.tsx │ │ ├── components │ │ │ ├── Geolocation.tsx │ │ │ └── GeolocationContainer.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock └── hocs │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── public │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── robots.txt │ ├── src │ ├── App.tsx │ ├── components │ │ └── MyComponent │ │ │ ├── WithInnerWidth.tsx │ │ │ └── index.tsx │ ├── index.tsx │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── Chapter05 └── graphql │ ├── .editorconfig │ ├── .eslintrc │ ├── .gitignore │ ├── .nvmrc │ ├── .prettierrc │ ├── .vscode │ └── settings.json │ ├── backend │ ├── .env.example │ ├── .eslintignore │ ├── config │ │ ├── config.json │ │ └── index.ts │ ├── global.d.ts │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── graphql │ │ │ ├── resolvers │ │ │ │ ├── index.ts │ │ │ │ └── user.ts │ │ │ └── types │ │ │ │ ├── Scalar.graphql │ │ │ │ ├── User.graphql │ │ │ │ └── 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 │ ├── .eslintignore │ ├── .eslintrc │ ├── .gitignore │ ├── .ncurc.json │ ├── .prettierrc │ ├── global.d.ts │ ├── package-lock.json │ ├── package.json │ ├── src │ ├── AppRoutes.tsx │ ├── components │ │ ├── dashboard │ │ │ ├── Dashboard.tsx │ │ │ └── DashboardLayout.tsx │ │ └── users │ │ │ ├── Login.styled.ts │ │ │ ├── Login.tsx │ │ │ └── LoginLayout.tsx │ ├── config │ │ ├── common.json │ │ ├── index.ts │ │ ├── local.json │ │ └── production.json │ ├── contexts │ │ └── user.tsx │ ├── graphql │ │ └── user │ │ │ ├── getUserData.query.ts │ │ │ └── login.mutation.ts │ ├── index.html │ ├── index.tsx │ ├── lib │ │ ├── jwt.ts │ │ └── middlewares │ │ │ └── user.ts │ ├── pages │ │ ├── dashboard.tsx │ │ ├── error404.tsx │ │ ├── home.tsx │ │ └── login.tsx │ ├── server.ts │ └── types │ │ ├── index.ts │ │ ├── interfaces.ts │ │ └── types.ts │ ├── tsconfig.json │ └── webpack.config.ts ├── Chapter06 ├── context-api │ ├── .eslintcache │ ├── .gitignore │ ├── README.md │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ ├── src │ │ ├── components │ │ │ ├── App.css │ │ │ ├── App.tsx │ │ │ └── Issues.tsx │ │ ├── contexts │ │ │ └── Issue.tsx │ │ ├── index.css │ │ ├── index.tsx │ │ ├── logo.svg │ │ ├── react-app-env.d.ts │ │ ├── reportWebVitals.ts │ │ └── setupTests.ts │ ├── tsconfig.json │ └── yarn.lock └── react-suspense-with-swr │ ├── .env │ ├── .eslintcache │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── public │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ ├── pokeball.png │ └── robots.txt │ ├── src │ ├── components │ │ ├── App.tsx │ │ └── Pokemon │ │ │ ├── LoadingSkeleton.tsx │ │ │ ├── PokeContainer.tsx │ │ │ ├── Pokedex.tsx │ │ │ ├── Pokemon.styled.ts │ │ │ ├── Pokemon.tsx │ │ │ └── fetcher.ts │ ├── index.css │ ├── index.tsx │ ├── logo.svg │ ├── react-app-env.d.ts │ ├── reportWebVitals.ts │ └── setupTests.ts │ ├── tsconfig.json │ └── yarn.lock ├── Chapter07 ├── animations │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ ├── src │ │ ├── App.tsx │ │ ├── components │ │ │ └── Transition │ │ │ │ ├── Transition.css │ │ │ │ └── index.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── controlled-components │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ ├── src │ │ ├── App.tsx │ │ ├── components │ │ │ └── Controlled │ │ │ │ └── index.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── event-switch │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ ├── src │ │ ├── App.tsx │ │ ├── components │ │ │ └── Button │ │ │ │ └── index.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── react-motion │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ ├── src │ │ ├── App.tsx │ │ ├── components │ │ │ └── Transition │ │ │ │ └── index.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── refs │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ ├── src │ │ ├── App.tsx │ │ ├── components │ │ │ └── Focus │ │ │ │ └── index.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── svg │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ ├── src │ │ ├── App.tsx │ │ ├── components │ │ │ └── Circles │ │ │ │ ├── Circle.tsx │ │ │ │ └── RedCircle.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock └── uncontrolled-components │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── public │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── robots.txt │ ├── src │ ├── App.tsx │ ├── components │ │ └── Uncontrolled │ │ │ └── index.tsx │ ├── index.tsx │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── Chapter08 ├── css-modules │ ├── .babelrc │ ├── .gitignore │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── declarations.d.ts │ │ ├── index.css │ │ ├── index.html │ │ └── index.tsx │ ├── tsconfig.json │ └── webpack.config.js ├── inline-styles │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ ├── src │ │ ├── App.tsx │ │ ├── components │ │ │ └── FontSize │ │ │ │ └── index.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── radium │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ ├── src │ │ ├── App.tsx │ │ ├── components │ │ │ └── Button │ │ │ │ └── index.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock └── styled-components │ ├── .babelrc │ ├── .gitignore │ ├── package-lock.json │ ├── package.json │ ├── src │ ├── components │ │ └── Button │ │ │ └── index.tsx │ ├── index.html │ └── index.tsx │ ├── tsconfig.json │ └── webpack.config.js ├── Chapter09 ├── 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 ├── Chapter10 └── keys │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── public │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── robots.txt │ ├── src │ ├── App.tsx │ ├── components │ │ └── List │ │ │ └── index.tsx │ ├── index.tsx │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── Chapter11 ├── 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 └── 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 ├── Chapter12 ├── react-router-with-params │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ ├── src │ │ ├── App.css │ │ ├── App.tsx │ │ ├── components │ │ │ ├── About │ │ │ │ └── index.tsx │ │ │ ├── Contact │ │ │ │ └── index.tsx │ │ │ ├── Contacts │ │ │ │ ├── Contacts.css │ │ │ │ └── index.tsx │ │ │ ├── Error404 │ │ │ │ └── index.tsx │ │ │ └── Home │ │ │ │ └── index.tsx │ │ ├── index.tsx │ │ ├── react-app-env.d.ts │ │ └── routes.tsx │ ├── tsconfig.json │ └── yarn.lock └── react-router │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── public │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── robots.txt │ ├── src │ ├── App.css │ ├── App.tsx │ ├── components │ │ ├── About.tsx │ │ ├── Contact.tsx │ │ ├── Error404.tsx │ │ └── Home.tsx │ ├── index.tsx │ ├── react-app-env.d.ts │ └── routes.tsx │ ├── tsconfig.json │ └── yarn.lock ├── Chapter13 ├── counter │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ ├── src │ │ ├── App.tsx │ │ ├── components │ │ │ └── Counter │ │ │ │ └── index.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock └── keys │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── public │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── robots.txt │ ├── src │ ├── App.tsx │ ├── components │ │ └── List │ │ │ └── index.tsx │ ├── index.tsx │ └── react-app-env.d.ts │ ├── tsconfig.json │ └── yarn.lock ├── LICENSE └── README.md /Chapter03/1-react-hooks/.eslintcache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/1-react-hooks/.eslintcache -------------------------------------------------------------------------------- /Chapter03/1-react-hooks/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/1-react-hooks/.gitignore -------------------------------------------------------------------------------- /Chapter03/1-react-hooks/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/1-react-hooks/README.md -------------------------------------------------------------------------------- /Chapter03/1-react-hooks/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/1-react-hooks/package-lock.json -------------------------------------------------------------------------------- /Chapter03/1-react-hooks/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/1-react-hooks/package.json -------------------------------------------------------------------------------- /Chapter03/1-react-hooks/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/1-react-hooks/public/favicon.ico -------------------------------------------------------------------------------- /Chapter03/1-react-hooks/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/1-react-hooks/public/index.html -------------------------------------------------------------------------------- /Chapter03/1-react-hooks/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/1-react-hooks/public/logo192.png -------------------------------------------------------------------------------- /Chapter03/1-react-hooks/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/1-react-hooks/public/logo512.png -------------------------------------------------------------------------------- /Chapter03/1-react-hooks/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/1-react-hooks/public/manifest.json -------------------------------------------------------------------------------- /Chapter03/1-react-hooks/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/1-react-hooks/public/robots.txt -------------------------------------------------------------------------------- /Chapter03/1-react-hooks/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/1-react-hooks/src/App.css -------------------------------------------------------------------------------- /Chapter03/1-react-hooks/src/App.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/1-react-hooks/src/App.test.tsx -------------------------------------------------------------------------------- /Chapter03/1-react-hooks/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/1-react-hooks/src/App.tsx -------------------------------------------------------------------------------- /Chapter03/1-react-hooks/src/Counter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/1-react-hooks/src/Counter.tsx -------------------------------------------------------------------------------- /Chapter03/1-react-hooks/src/Issues.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/1-react-hooks/src/Issues.tsx -------------------------------------------------------------------------------- /Chapter03/1-react-hooks/src/Issues2.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/1-react-hooks/src/Issues2.tsx -------------------------------------------------------------------------------- /Chapter03/1-react-hooks/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/1-react-hooks/src/index.css -------------------------------------------------------------------------------- /Chapter03/1-react-hooks/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/1-react-hooks/src/index.tsx -------------------------------------------------------------------------------- /Chapter03/1-react-hooks/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/1-react-hooks/src/logo.svg -------------------------------------------------------------------------------- /Chapter03/1-react-hooks/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter03/1-react-hooks/src/reportWebVitals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/1-react-hooks/src/reportWebVitals.ts -------------------------------------------------------------------------------- /Chapter03/1-react-hooks/src/setupTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/1-react-hooks/src/setupTests.ts -------------------------------------------------------------------------------- /Chapter03/1-react-hooks/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/1-react-hooks/tsconfig.json -------------------------------------------------------------------------------- /Chapter03/1-react-hooks/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/1-react-hooks/yarn.lock -------------------------------------------------------------------------------- /Chapter03/2-todo/.eslintcache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/2-todo/.eslintcache -------------------------------------------------------------------------------- /Chapter03/2-todo/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/2-todo/.gitignore -------------------------------------------------------------------------------- /Chapter03/2-todo/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/2-todo/README.md -------------------------------------------------------------------------------- /Chapter03/2-todo/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/2-todo/package.json -------------------------------------------------------------------------------- /Chapter03/2-todo/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/2-todo/public/favicon.ico -------------------------------------------------------------------------------- /Chapter03/2-todo/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/2-todo/public/index.html -------------------------------------------------------------------------------- /Chapter03/2-todo/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/2-todo/public/logo192.png -------------------------------------------------------------------------------- /Chapter03/2-todo/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/2-todo/public/logo512.png -------------------------------------------------------------------------------- /Chapter03/2-todo/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/2-todo/public/manifest.json -------------------------------------------------------------------------------- /Chapter03/2-todo/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/2-todo/public/robots.txt -------------------------------------------------------------------------------- /Chapter03/2-todo/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/2-todo/src/App.tsx -------------------------------------------------------------------------------- /Chapter03/2-todo/src/List.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/2-todo/src/List.tsx -------------------------------------------------------------------------------- /Chapter03/2-todo/src/Task.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/2-todo/src/Task.tsx -------------------------------------------------------------------------------- /Chapter03/2-todo/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/2-todo/src/index.tsx -------------------------------------------------------------------------------- /Chapter03/2-todo/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter03/2-todo/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/2-todo/tsconfig.json -------------------------------------------------------------------------------- /Chapter03/2-todo/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/2-todo/yarn.lock -------------------------------------------------------------------------------- /Chapter03/3-reducer/.eslintcache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/3-reducer/.eslintcache -------------------------------------------------------------------------------- /Chapter03/3-reducer/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/3-reducer/.gitignore -------------------------------------------------------------------------------- /Chapter03/3-reducer/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/3-reducer/README.md -------------------------------------------------------------------------------- /Chapter03/3-reducer/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/3-reducer/package.json -------------------------------------------------------------------------------- /Chapter03/3-reducer/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/3-reducer/public/favicon.ico -------------------------------------------------------------------------------- /Chapter03/3-reducer/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/3-reducer/public/index.html -------------------------------------------------------------------------------- /Chapter03/3-reducer/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/3-reducer/public/logo192.png -------------------------------------------------------------------------------- /Chapter03/3-reducer/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/3-reducer/public/logo512.png -------------------------------------------------------------------------------- /Chapter03/3-reducer/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/3-reducer/public/manifest.json -------------------------------------------------------------------------------- /Chapter03/3-reducer/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/3-reducer/public/robots.txt -------------------------------------------------------------------------------- /Chapter03/3-reducer/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/3-reducer/src/App.tsx -------------------------------------------------------------------------------- /Chapter03/3-reducer/src/Notes.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/3-reducer/src/Notes.tsx -------------------------------------------------------------------------------- /Chapter03/3-reducer/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/3-reducer/src/index.tsx -------------------------------------------------------------------------------- /Chapter03/3-reducer/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter03/3-reducer/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/3-reducer/tsconfig.json -------------------------------------------------------------------------------- /Chapter03/3-reducer/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter03/3-reducer/yarn.lock -------------------------------------------------------------------------------- /Chapter04/geolocation/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/geolocation/.gitignore -------------------------------------------------------------------------------- /Chapter04/geolocation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/geolocation/README.md -------------------------------------------------------------------------------- /Chapter04/geolocation/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/geolocation/package.json -------------------------------------------------------------------------------- /Chapter04/geolocation/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/geolocation/public/favicon.ico -------------------------------------------------------------------------------- /Chapter04/geolocation/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/geolocation/public/index.html -------------------------------------------------------------------------------- /Chapter04/geolocation/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/geolocation/public/logo192.png -------------------------------------------------------------------------------- /Chapter04/geolocation/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/geolocation/public/logo512.png -------------------------------------------------------------------------------- /Chapter04/geolocation/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/geolocation/public/manifest.json -------------------------------------------------------------------------------- /Chapter04/geolocation/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/geolocation/public/robots.txt -------------------------------------------------------------------------------- /Chapter04/geolocation/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/geolocation/src/App.tsx -------------------------------------------------------------------------------- /Chapter04/geolocation/src/components/Geolocation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/geolocation/src/components/Geolocation.tsx -------------------------------------------------------------------------------- /Chapter04/geolocation/src/components/GeolocationContainer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/geolocation/src/components/GeolocationContainer.tsx -------------------------------------------------------------------------------- /Chapter04/geolocation/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/geolocation/src/index.tsx -------------------------------------------------------------------------------- /Chapter04/geolocation/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter04/geolocation/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/geolocation/tsconfig.json -------------------------------------------------------------------------------- /Chapter04/geolocation/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/geolocation/yarn.lock -------------------------------------------------------------------------------- /Chapter04/hocs/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/hocs/.gitignore -------------------------------------------------------------------------------- /Chapter04/hocs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/hocs/README.md -------------------------------------------------------------------------------- /Chapter04/hocs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/hocs/package.json -------------------------------------------------------------------------------- /Chapter04/hocs/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/hocs/public/favicon.ico -------------------------------------------------------------------------------- /Chapter04/hocs/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/hocs/public/index.html -------------------------------------------------------------------------------- /Chapter04/hocs/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/hocs/public/logo192.png -------------------------------------------------------------------------------- /Chapter04/hocs/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/hocs/public/logo512.png -------------------------------------------------------------------------------- /Chapter04/hocs/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/hocs/public/manifest.json -------------------------------------------------------------------------------- /Chapter04/hocs/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/hocs/public/robots.txt -------------------------------------------------------------------------------- /Chapter04/hocs/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/hocs/src/App.tsx -------------------------------------------------------------------------------- /Chapter04/hocs/src/components/MyComponent/WithInnerWidth.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/hocs/src/components/MyComponent/WithInnerWidth.tsx -------------------------------------------------------------------------------- /Chapter04/hocs/src/components/MyComponent/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/hocs/src/components/MyComponent/index.tsx -------------------------------------------------------------------------------- /Chapter04/hocs/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/hocs/src/index.tsx -------------------------------------------------------------------------------- /Chapter04/hocs/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter04/hocs/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/hocs/tsconfig.json -------------------------------------------------------------------------------- /Chapter04/hocs/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter04/hocs/yarn.lock -------------------------------------------------------------------------------- /Chapter05/graphql/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/.editorconfig -------------------------------------------------------------------------------- /Chapter05/graphql/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/.eslintrc -------------------------------------------------------------------------------- /Chapter05/graphql/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | .DS_Store 4 | .env 5 | -------------------------------------------------------------------------------- /Chapter05/graphql/.nvmrc: -------------------------------------------------------------------------------- 1 | v15.8.0 2 | -------------------------------------------------------------------------------- /Chapter05/graphql/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/.prettierrc -------------------------------------------------------------------------------- /Chapter05/graphql/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/.vscode/settings.json -------------------------------------------------------------------------------- /Chapter05/graphql/backend/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/backend/.env.example -------------------------------------------------------------------------------- /Chapter05/graphql/backend/.eslintignore: -------------------------------------------------------------------------------- 1 | /dist/** 2 | /node_modules/** 3 | -------------------------------------------------------------------------------- /Chapter05/graphql/backend/config/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/backend/config/config.json -------------------------------------------------------------------------------- /Chapter05/graphql/backend/config/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/backend/config/index.ts -------------------------------------------------------------------------------- /Chapter05/graphql/backend/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/backend/global.d.ts -------------------------------------------------------------------------------- /Chapter05/graphql/backend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/backend/package-lock.json -------------------------------------------------------------------------------- /Chapter05/graphql/backend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/backend/package.json -------------------------------------------------------------------------------- /Chapter05/graphql/backend/src/graphql/resolvers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/backend/src/graphql/resolvers/index.ts -------------------------------------------------------------------------------- /Chapter05/graphql/backend/src/graphql/resolvers/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/backend/src/graphql/resolvers/user.ts -------------------------------------------------------------------------------- /Chapter05/graphql/backend/src/graphql/types/Scalar.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/backend/src/graphql/types/Scalar.graphql -------------------------------------------------------------------------------- /Chapter05/graphql/backend/src/graphql/types/User.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/backend/src/graphql/types/User.graphql -------------------------------------------------------------------------------- /Chapter05/graphql/backend/src/graphql/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/backend/src/graphql/types/index.ts -------------------------------------------------------------------------------- /Chapter05/graphql/backend/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/backend/src/index.ts -------------------------------------------------------------------------------- /Chapter05/graphql/backend/src/lib/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/backend/src/lib/auth.ts -------------------------------------------------------------------------------- /Chapter05/graphql/backend/src/lib/jwt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/backend/src/lib/jwt.ts -------------------------------------------------------------------------------- /Chapter05/graphql/backend/src/models/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/backend/src/models/User.ts -------------------------------------------------------------------------------- /Chapter05/graphql/backend/src/models/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/backend/src/models/index.ts -------------------------------------------------------------------------------- /Chapter05/graphql/backend/src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/backend/src/types/index.ts -------------------------------------------------------------------------------- /Chapter05/graphql/backend/src/types/interfaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/backend/src/types/interfaces.ts -------------------------------------------------------------------------------- /Chapter05/graphql/backend/src/types/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/backend/src/types/types.ts -------------------------------------------------------------------------------- /Chapter05/graphql/backend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/backend/tsconfig.json -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/.babelrc -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/.eslintignore: -------------------------------------------------------------------------------- 1 | /dist/** 2 | /node_modules/** 3 | -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/.eslintrc -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/.gitignore -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/.ncurc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/.ncurc.json -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/.prettierrc -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/global.d.ts -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/package-lock.json -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/package.json -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/src/AppRoutes.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/src/AppRoutes.tsx -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/src/components/dashboard/Dashboard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/src/components/dashboard/Dashboard.tsx -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/src/components/dashboard/DashboardLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/src/components/dashboard/DashboardLayout.tsx -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/src/components/users/Login.styled.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/src/components/users/Login.styled.ts -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/src/components/users/Login.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/src/components/users/Login.tsx -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/src/components/users/LoginLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/src/components/users/LoginLayout.tsx -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/src/config/common.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/src/config/common.json -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/src/config/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/src/config/index.ts -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/src/config/local.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/src/config/local.json -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/src/config/production.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/src/config/production.json -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/src/contexts/user.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/src/contexts/user.tsx -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/src/graphql/user/getUserData.query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/src/graphql/user/getUserData.query.ts -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/src/graphql/user/login.mutation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/src/graphql/user/login.mutation.ts -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/src/index.html -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/src/index.tsx -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/src/lib/jwt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/src/lib/jwt.ts -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/src/lib/middlewares/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/src/lib/middlewares/user.ts -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/src/pages/dashboard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/src/pages/dashboard.tsx -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/src/pages/error404.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/src/pages/error404.tsx -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/src/pages/home.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/src/pages/home.tsx -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/src/pages/login.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/src/pages/login.tsx -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/src/server.ts -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/src/types/index.ts -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/src/types/interfaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/src/types/interfaces.ts -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/src/types/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/src/types/types.ts -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/tsconfig.json -------------------------------------------------------------------------------- /Chapter05/graphql/frontend/webpack.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter05/graphql/frontend/webpack.config.ts -------------------------------------------------------------------------------- /Chapter06/context-api/.eslintcache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/context-api/.eslintcache -------------------------------------------------------------------------------- /Chapter06/context-api/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/context-api/.gitignore -------------------------------------------------------------------------------- /Chapter06/context-api/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/context-api/README.md -------------------------------------------------------------------------------- /Chapter06/context-api/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/context-api/package-lock.json -------------------------------------------------------------------------------- /Chapter06/context-api/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/context-api/package.json -------------------------------------------------------------------------------- /Chapter06/context-api/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/context-api/public/favicon.ico -------------------------------------------------------------------------------- /Chapter06/context-api/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/context-api/public/index.html -------------------------------------------------------------------------------- /Chapter06/context-api/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/context-api/public/logo192.png -------------------------------------------------------------------------------- /Chapter06/context-api/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/context-api/public/logo512.png -------------------------------------------------------------------------------- /Chapter06/context-api/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/context-api/public/manifest.json -------------------------------------------------------------------------------- /Chapter06/context-api/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/context-api/public/robots.txt -------------------------------------------------------------------------------- /Chapter06/context-api/src/components/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/context-api/src/components/App.css -------------------------------------------------------------------------------- /Chapter06/context-api/src/components/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/context-api/src/components/App.tsx -------------------------------------------------------------------------------- /Chapter06/context-api/src/components/Issues.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/context-api/src/components/Issues.tsx -------------------------------------------------------------------------------- /Chapter06/context-api/src/contexts/Issue.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/context-api/src/contexts/Issue.tsx -------------------------------------------------------------------------------- /Chapter06/context-api/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/context-api/src/index.css -------------------------------------------------------------------------------- /Chapter06/context-api/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/context-api/src/index.tsx -------------------------------------------------------------------------------- /Chapter06/context-api/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/context-api/src/logo.svg -------------------------------------------------------------------------------- /Chapter06/context-api/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter06/context-api/src/reportWebVitals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/context-api/src/reportWebVitals.ts -------------------------------------------------------------------------------- /Chapter06/context-api/src/setupTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/context-api/src/setupTests.ts -------------------------------------------------------------------------------- /Chapter06/context-api/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/context-api/tsconfig.json -------------------------------------------------------------------------------- /Chapter06/context-api/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/context-api/yarn.lock -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/.env: -------------------------------------------------------------------------------- 1 | SKIP_PREFLIGHT_CHECK=true -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/.eslintcache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/react-suspense-with-swr/.eslintcache -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/react-suspense-with-swr/.gitignore -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/react-suspense-with-swr/README.md -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/react-suspense-with-swr/package.json -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/react-suspense-with-swr/public/favicon.ico -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/react-suspense-with-swr/public/index.html -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/react-suspense-with-swr/public/logo192.png -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/react-suspense-with-swr/public/logo512.png -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/react-suspense-with-swr/public/manifest.json -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/public/pokeball.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/react-suspense-with-swr/public/pokeball.png -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/react-suspense-with-swr/public/robots.txt -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/src/components/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/react-suspense-with-swr/src/components/App.tsx -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/src/components/Pokemon/LoadingSkeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/react-suspense-with-swr/src/components/Pokemon/LoadingSkeleton.tsx -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/src/components/Pokemon/PokeContainer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/react-suspense-with-swr/src/components/Pokemon/PokeContainer.tsx -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/src/components/Pokemon/Pokedex.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/react-suspense-with-swr/src/components/Pokemon/Pokedex.tsx -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/src/components/Pokemon/Pokemon.styled.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/react-suspense-with-swr/src/components/Pokemon/Pokemon.styled.ts -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/src/components/Pokemon/Pokemon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/react-suspense-with-swr/src/components/Pokemon/Pokemon.tsx -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/src/components/Pokemon/fetcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/react-suspense-with-swr/src/components/Pokemon/fetcher.ts -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/react-suspense-with-swr/src/index.css -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/react-suspense-with-swr/src/index.tsx -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/react-suspense-with-swr/src/logo.svg -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/src/reportWebVitals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/react-suspense-with-swr/src/reportWebVitals.ts -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/src/setupTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/react-suspense-with-swr/src/setupTests.ts -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/react-suspense-with-swr/tsconfig.json -------------------------------------------------------------------------------- /Chapter06/react-suspense-with-swr/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter06/react-suspense-with-swr/yarn.lock -------------------------------------------------------------------------------- /Chapter07/animations/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/animations/.gitignore -------------------------------------------------------------------------------- /Chapter07/animations/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/animations/README.md -------------------------------------------------------------------------------- /Chapter07/animations/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/animations/package.json -------------------------------------------------------------------------------- /Chapter07/animations/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/animations/public/favicon.ico -------------------------------------------------------------------------------- /Chapter07/animations/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/animations/public/index.html -------------------------------------------------------------------------------- /Chapter07/animations/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/animations/public/logo192.png -------------------------------------------------------------------------------- /Chapter07/animations/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/animations/public/logo512.png -------------------------------------------------------------------------------- /Chapter07/animations/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/animations/public/manifest.json -------------------------------------------------------------------------------- /Chapter07/animations/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/animations/public/robots.txt -------------------------------------------------------------------------------- /Chapter07/animations/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/animations/src/App.tsx -------------------------------------------------------------------------------- /Chapter07/animations/src/components/Transition/Transition.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/animations/src/components/Transition/Transition.css -------------------------------------------------------------------------------- /Chapter07/animations/src/components/Transition/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/animations/src/components/Transition/index.tsx -------------------------------------------------------------------------------- /Chapter07/animations/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/animations/src/index.tsx -------------------------------------------------------------------------------- /Chapter07/animations/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter07/animations/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/animations/tsconfig.json -------------------------------------------------------------------------------- /Chapter07/animations/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/animations/yarn.lock -------------------------------------------------------------------------------- /Chapter07/controlled-components/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/controlled-components/.gitignore -------------------------------------------------------------------------------- /Chapter07/controlled-components/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/controlled-components/README.md -------------------------------------------------------------------------------- /Chapter07/controlled-components/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/controlled-components/package.json -------------------------------------------------------------------------------- /Chapter07/controlled-components/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/controlled-components/public/favicon.ico -------------------------------------------------------------------------------- /Chapter07/controlled-components/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/controlled-components/public/index.html -------------------------------------------------------------------------------- /Chapter07/controlled-components/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/controlled-components/public/logo192.png -------------------------------------------------------------------------------- /Chapter07/controlled-components/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/controlled-components/public/logo512.png -------------------------------------------------------------------------------- /Chapter07/controlled-components/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/controlled-components/public/manifest.json -------------------------------------------------------------------------------- /Chapter07/controlled-components/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/controlled-components/public/robots.txt -------------------------------------------------------------------------------- /Chapter07/controlled-components/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/controlled-components/src/App.tsx -------------------------------------------------------------------------------- /Chapter07/controlled-components/src/components/Controlled/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/controlled-components/src/components/Controlled/index.tsx -------------------------------------------------------------------------------- /Chapter07/controlled-components/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/controlled-components/src/index.tsx -------------------------------------------------------------------------------- /Chapter07/controlled-components/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter07/controlled-components/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/controlled-components/tsconfig.json -------------------------------------------------------------------------------- /Chapter07/controlled-components/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/controlled-components/yarn.lock -------------------------------------------------------------------------------- /Chapter07/event-switch/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/event-switch/.gitignore -------------------------------------------------------------------------------- /Chapter07/event-switch/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/event-switch/README.md -------------------------------------------------------------------------------- /Chapter07/event-switch/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/event-switch/package.json -------------------------------------------------------------------------------- /Chapter07/event-switch/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/event-switch/public/favicon.ico -------------------------------------------------------------------------------- /Chapter07/event-switch/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/event-switch/public/index.html -------------------------------------------------------------------------------- /Chapter07/event-switch/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/event-switch/public/logo192.png -------------------------------------------------------------------------------- /Chapter07/event-switch/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/event-switch/public/logo512.png -------------------------------------------------------------------------------- /Chapter07/event-switch/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/event-switch/public/manifest.json -------------------------------------------------------------------------------- /Chapter07/event-switch/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/event-switch/public/robots.txt -------------------------------------------------------------------------------- /Chapter07/event-switch/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/event-switch/src/App.tsx -------------------------------------------------------------------------------- /Chapter07/event-switch/src/components/Button/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/event-switch/src/components/Button/index.tsx -------------------------------------------------------------------------------- /Chapter07/event-switch/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/event-switch/src/index.tsx -------------------------------------------------------------------------------- /Chapter07/event-switch/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter07/event-switch/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/event-switch/tsconfig.json -------------------------------------------------------------------------------- /Chapter07/event-switch/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/event-switch/yarn.lock -------------------------------------------------------------------------------- /Chapter07/react-motion/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/react-motion/.gitignore -------------------------------------------------------------------------------- /Chapter07/react-motion/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/react-motion/README.md -------------------------------------------------------------------------------- /Chapter07/react-motion/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/react-motion/package.json -------------------------------------------------------------------------------- /Chapter07/react-motion/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/react-motion/public/favicon.ico -------------------------------------------------------------------------------- /Chapter07/react-motion/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/react-motion/public/index.html -------------------------------------------------------------------------------- /Chapter07/react-motion/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/react-motion/public/logo192.png -------------------------------------------------------------------------------- /Chapter07/react-motion/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/react-motion/public/logo512.png -------------------------------------------------------------------------------- /Chapter07/react-motion/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/react-motion/public/manifest.json -------------------------------------------------------------------------------- /Chapter07/react-motion/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/react-motion/public/robots.txt -------------------------------------------------------------------------------- /Chapter07/react-motion/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/react-motion/src/App.tsx -------------------------------------------------------------------------------- /Chapter07/react-motion/src/components/Transition/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/react-motion/src/components/Transition/index.tsx -------------------------------------------------------------------------------- /Chapter07/react-motion/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/react-motion/src/index.tsx -------------------------------------------------------------------------------- /Chapter07/react-motion/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter07/react-motion/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/react-motion/tsconfig.json -------------------------------------------------------------------------------- /Chapter07/react-motion/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/react-motion/yarn.lock -------------------------------------------------------------------------------- /Chapter07/refs/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/refs/.gitignore -------------------------------------------------------------------------------- /Chapter07/refs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/refs/README.md -------------------------------------------------------------------------------- /Chapter07/refs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/refs/package.json -------------------------------------------------------------------------------- /Chapter07/refs/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/refs/public/favicon.ico -------------------------------------------------------------------------------- /Chapter07/refs/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/refs/public/index.html -------------------------------------------------------------------------------- /Chapter07/refs/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/refs/public/logo192.png -------------------------------------------------------------------------------- /Chapter07/refs/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/refs/public/logo512.png -------------------------------------------------------------------------------- /Chapter07/refs/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/refs/public/manifest.json -------------------------------------------------------------------------------- /Chapter07/refs/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/refs/public/robots.txt -------------------------------------------------------------------------------- /Chapter07/refs/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/refs/src/App.tsx -------------------------------------------------------------------------------- /Chapter07/refs/src/components/Focus/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/refs/src/components/Focus/index.tsx -------------------------------------------------------------------------------- /Chapter07/refs/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/refs/src/index.tsx -------------------------------------------------------------------------------- /Chapter07/refs/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter07/refs/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/refs/tsconfig.json -------------------------------------------------------------------------------- /Chapter07/refs/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/refs/yarn.lock -------------------------------------------------------------------------------- /Chapter07/svg/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/svg/.gitignore -------------------------------------------------------------------------------- /Chapter07/svg/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/svg/README.md -------------------------------------------------------------------------------- /Chapter07/svg/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/svg/package.json -------------------------------------------------------------------------------- /Chapter07/svg/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/svg/public/favicon.ico -------------------------------------------------------------------------------- /Chapter07/svg/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/svg/public/index.html -------------------------------------------------------------------------------- /Chapter07/svg/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/svg/public/logo192.png -------------------------------------------------------------------------------- /Chapter07/svg/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/svg/public/logo512.png -------------------------------------------------------------------------------- /Chapter07/svg/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/svg/public/manifest.json -------------------------------------------------------------------------------- /Chapter07/svg/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/svg/public/robots.txt -------------------------------------------------------------------------------- /Chapter07/svg/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/svg/src/App.tsx -------------------------------------------------------------------------------- /Chapter07/svg/src/components/Circles/Circle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/svg/src/components/Circles/Circle.tsx -------------------------------------------------------------------------------- /Chapter07/svg/src/components/Circles/RedCircle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/svg/src/components/Circles/RedCircle.tsx -------------------------------------------------------------------------------- /Chapter07/svg/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/svg/src/index.tsx -------------------------------------------------------------------------------- /Chapter07/svg/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter07/svg/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/svg/tsconfig.json -------------------------------------------------------------------------------- /Chapter07/svg/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/svg/yarn.lock -------------------------------------------------------------------------------- /Chapter07/uncontrolled-components/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/uncontrolled-components/.gitignore -------------------------------------------------------------------------------- /Chapter07/uncontrolled-components/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/uncontrolled-components/README.md -------------------------------------------------------------------------------- /Chapter07/uncontrolled-components/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/uncontrolled-components/package.json -------------------------------------------------------------------------------- /Chapter07/uncontrolled-components/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/uncontrolled-components/public/favicon.ico -------------------------------------------------------------------------------- /Chapter07/uncontrolled-components/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/uncontrolled-components/public/index.html -------------------------------------------------------------------------------- /Chapter07/uncontrolled-components/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/uncontrolled-components/public/logo192.png -------------------------------------------------------------------------------- /Chapter07/uncontrolled-components/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/uncontrolled-components/public/logo512.png -------------------------------------------------------------------------------- /Chapter07/uncontrolled-components/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/uncontrolled-components/public/manifest.json -------------------------------------------------------------------------------- /Chapter07/uncontrolled-components/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/uncontrolled-components/public/robots.txt -------------------------------------------------------------------------------- /Chapter07/uncontrolled-components/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/uncontrolled-components/src/App.tsx -------------------------------------------------------------------------------- /Chapter07/uncontrolled-components/src/components/Uncontrolled/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/uncontrolled-components/src/components/Uncontrolled/index.tsx -------------------------------------------------------------------------------- /Chapter07/uncontrolled-components/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/uncontrolled-components/src/index.tsx -------------------------------------------------------------------------------- /Chapter07/uncontrolled-components/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter07/uncontrolled-components/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/uncontrolled-components/tsconfig.json -------------------------------------------------------------------------------- /Chapter07/uncontrolled-components/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter07/uncontrolled-components/yarn.lock -------------------------------------------------------------------------------- /Chapter08/css-modules/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/css-modules/.babelrc -------------------------------------------------------------------------------- /Chapter08/css-modules/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/css-modules/.gitignore -------------------------------------------------------------------------------- /Chapter08/css-modules/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/css-modules/package-lock.json -------------------------------------------------------------------------------- /Chapter08/css-modules/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/css-modules/package.json -------------------------------------------------------------------------------- /Chapter08/css-modules/src/declarations.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/css-modules/src/declarations.d.ts -------------------------------------------------------------------------------- /Chapter08/css-modules/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/css-modules/src/index.css -------------------------------------------------------------------------------- /Chapter08/css-modules/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/css-modules/src/index.html -------------------------------------------------------------------------------- /Chapter08/css-modules/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/css-modules/src/index.tsx -------------------------------------------------------------------------------- /Chapter08/css-modules/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/css-modules/tsconfig.json -------------------------------------------------------------------------------- /Chapter08/css-modules/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/css-modules/webpack.config.js -------------------------------------------------------------------------------- /Chapter08/inline-styles/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/inline-styles/.gitignore -------------------------------------------------------------------------------- /Chapter08/inline-styles/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/inline-styles/README.md -------------------------------------------------------------------------------- /Chapter08/inline-styles/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/inline-styles/package.json -------------------------------------------------------------------------------- /Chapter08/inline-styles/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/inline-styles/public/favicon.ico -------------------------------------------------------------------------------- /Chapter08/inline-styles/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/inline-styles/public/index.html -------------------------------------------------------------------------------- /Chapter08/inline-styles/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/inline-styles/public/logo192.png -------------------------------------------------------------------------------- /Chapter08/inline-styles/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/inline-styles/public/logo512.png -------------------------------------------------------------------------------- /Chapter08/inline-styles/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/inline-styles/public/manifest.json -------------------------------------------------------------------------------- /Chapter08/inline-styles/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/inline-styles/public/robots.txt -------------------------------------------------------------------------------- /Chapter08/inline-styles/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/inline-styles/src/App.tsx -------------------------------------------------------------------------------- /Chapter08/inline-styles/src/components/FontSize/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/inline-styles/src/components/FontSize/index.tsx -------------------------------------------------------------------------------- /Chapter08/inline-styles/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/inline-styles/src/index.tsx -------------------------------------------------------------------------------- /Chapter08/inline-styles/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter08/inline-styles/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/inline-styles/tsconfig.json -------------------------------------------------------------------------------- /Chapter08/inline-styles/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/inline-styles/yarn.lock -------------------------------------------------------------------------------- /Chapter08/radium/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/radium/.gitignore -------------------------------------------------------------------------------- /Chapter08/radium/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/radium/README.md -------------------------------------------------------------------------------- /Chapter08/radium/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/radium/package.json -------------------------------------------------------------------------------- /Chapter08/radium/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/radium/public/favicon.ico -------------------------------------------------------------------------------- /Chapter08/radium/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/radium/public/index.html -------------------------------------------------------------------------------- /Chapter08/radium/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/radium/public/logo192.png -------------------------------------------------------------------------------- /Chapter08/radium/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/radium/public/logo512.png -------------------------------------------------------------------------------- /Chapter08/radium/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/radium/public/manifest.json -------------------------------------------------------------------------------- /Chapter08/radium/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/radium/public/robots.txt -------------------------------------------------------------------------------- /Chapter08/radium/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/radium/src/App.tsx -------------------------------------------------------------------------------- /Chapter08/radium/src/components/Button/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/radium/src/components/Button/index.tsx -------------------------------------------------------------------------------- /Chapter08/radium/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/radium/src/index.tsx -------------------------------------------------------------------------------- /Chapter08/radium/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter08/radium/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/radium/tsconfig.json -------------------------------------------------------------------------------- /Chapter08/radium/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/radium/yarn.lock -------------------------------------------------------------------------------- /Chapter08/styled-components/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/styled-components/.babelrc -------------------------------------------------------------------------------- /Chapter08/styled-components/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/styled-components/.gitignore -------------------------------------------------------------------------------- /Chapter08/styled-components/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/styled-components/package-lock.json -------------------------------------------------------------------------------- /Chapter08/styled-components/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/styled-components/package.json -------------------------------------------------------------------------------- /Chapter08/styled-components/src/components/Button/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/styled-components/src/components/Button/index.tsx -------------------------------------------------------------------------------- /Chapter08/styled-components/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/styled-components/src/index.html -------------------------------------------------------------------------------- /Chapter08/styled-components/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/styled-components/src/index.tsx -------------------------------------------------------------------------------- /Chapter08/styled-components/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/styled-components/tsconfig.json -------------------------------------------------------------------------------- /Chapter08/styled-components/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter08/styled-components/webpack.config.js -------------------------------------------------------------------------------- /Chapter09/data-fetching/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/data-fetching/.babelrc -------------------------------------------------------------------------------- /Chapter09/data-fetching/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/data-fetching/.gitignore -------------------------------------------------------------------------------- /Chapter09/data-fetching/dist/public/bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/data-fetching/dist/public/bundle.js -------------------------------------------------------------------------------- /Chapter09/data-fetching/dist/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/data-fetching/dist/server.js -------------------------------------------------------------------------------- /Chapter09/data-fetching/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/data-fetching/package-lock.json -------------------------------------------------------------------------------- /Chapter09/data-fetching/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/data-fetching/package.json -------------------------------------------------------------------------------- /Chapter09/data-fetching/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/data-fetching/src/App.tsx -------------------------------------------------------------------------------- /Chapter09/data-fetching/src/client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/data-fetching/src/client.tsx -------------------------------------------------------------------------------- /Chapter09/data-fetching/src/declarations.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/data-fetching/src/declarations.d.ts -------------------------------------------------------------------------------- /Chapter09/data-fetching/src/server.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/data-fetching/src/server.tsx -------------------------------------------------------------------------------- /Chapter09/data-fetching/src/template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/data-fetching/src/template.ts -------------------------------------------------------------------------------- /Chapter09/data-fetching/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/data-fetching/tsconfig.json -------------------------------------------------------------------------------- /Chapter09/data-fetching/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/data-fetching/webpack.config.js -------------------------------------------------------------------------------- /Chapter09/next/.gitignore: -------------------------------------------------------------------------------- 1 | .next 2 | node_modules -------------------------------------------------------------------------------- /Chapter09/next/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/next/next-env.d.ts -------------------------------------------------------------------------------- /Chapter09/next/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/next/package-lock.json -------------------------------------------------------------------------------- /Chapter09/next/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/next/package.json -------------------------------------------------------------------------------- /Chapter09/next/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/next/pages/index.tsx -------------------------------------------------------------------------------- /Chapter09/next/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/next/tsconfig.json -------------------------------------------------------------------------------- /Chapter09/server-side-rendering/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/server-side-rendering/.babelrc -------------------------------------------------------------------------------- /Chapter09/server-side-rendering/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/server-side-rendering/.gitignore -------------------------------------------------------------------------------- /Chapter09/server-side-rendering/dist/public/bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/server-side-rendering/dist/public/bundle.js -------------------------------------------------------------------------------- /Chapter09/server-side-rendering/dist/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/server-side-rendering/dist/server.js -------------------------------------------------------------------------------- /Chapter09/server-side-rendering/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/server-side-rendering/package-lock.json -------------------------------------------------------------------------------- /Chapter09/server-side-rendering/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/server-side-rendering/package.json -------------------------------------------------------------------------------- /Chapter09/server-side-rendering/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/server-side-rendering/src/App.tsx -------------------------------------------------------------------------------- /Chapter09/server-side-rendering/src/client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/server-side-rendering/src/client.tsx -------------------------------------------------------------------------------- /Chapter09/server-side-rendering/src/declarations.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/server-side-rendering/src/declarations.d.ts -------------------------------------------------------------------------------- /Chapter09/server-side-rendering/src/server.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/server-side-rendering/src/server.tsx -------------------------------------------------------------------------------- /Chapter09/server-side-rendering/src/template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/server-side-rendering/src/template.ts -------------------------------------------------------------------------------- /Chapter09/server-side-rendering/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/server-side-rendering/tsconfig.json -------------------------------------------------------------------------------- /Chapter09/server-side-rendering/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter09/server-side-rendering/webpack.config.js -------------------------------------------------------------------------------- /Chapter10/keys/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter10/keys/.gitignore -------------------------------------------------------------------------------- /Chapter10/keys/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter10/keys/README.md -------------------------------------------------------------------------------- /Chapter10/keys/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter10/keys/package.json -------------------------------------------------------------------------------- /Chapter10/keys/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter10/keys/public/favicon.ico -------------------------------------------------------------------------------- /Chapter10/keys/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter10/keys/public/index.html -------------------------------------------------------------------------------- /Chapter10/keys/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter10/keys/public/logo192.png -------------------------------------------------------------------------------- /Chapter10/keys/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter10/keys/public/logo512.png -------------------------------------------------------------------------------- /Chapter10/keys/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter10/keys/public/manifest.json -------------------------------------------------------------------------------- /Chapter10/keys/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter10/keys/public/robots.txt -------------------------------------------------------------------------------- /Chapter10/keys/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter10/keys/src/App.tsx -------------------------------------------------------------------------------- /Chapter10/keys/src/components/List/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter10/keys/src/components/List/index.tsx -------------------------------------------------------------------------------- /Chapter10/keys/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter10/keys/src/index.tsx -------------------------------------------------------------------------------- /Chapter10/keys/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter10/keys/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter10/keys/tsconfig.json -------------------------------------------------------------------------------- /Chapter10/keys/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter10/keys/yarn.lock -------------------------------------------------------------------------------- /Chapter11/events/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/events/.babelrc -------------------------------------------------------------------------------- /Chapter11/events/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/events/.eslintrc -------------------------------------------------------------------------------- /Chapter11/events/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/events/.gitignore -------------------------------------------------------------------------------- /Chapter11/events/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/events/.prettierrc -------------------------------------------------------------------------------- /Chapter11/events/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/events/jest.config.js -------------------------------------------------------------------------------- /Chapter11/events/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/events/package-lock.json -------------------------------------------------------------------------------- /Chapter11/events/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/events/package.json -------------------------------------------------------------------------------- /Chapter11/events/setUpTests.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom/extend-expect' 2 | -------------------------------------------------------------------------------- /Chapter11/events/src/components/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/events/src/components/App.tsx -------------------------------------------------------------------------------- /Chapter11/events/src/components/ShowInformation/index.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/events/src/components/ShowInformation/index.test.tsx -------------------------------------------------------------------------------- /Chapter11/events/src/components/ShowInformation/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/events/src/components/ShowInformation/index.tsx -------------------------------------------------------------------------------- /Chapter11/events/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/events/src/index.html -------------------------------------------------------------------------------- /Chapter11/events/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/events/src/index.tsx -------------------------------------------------------------------------------- /Chapter11/events/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/events/tsconfig.json -------------------------------------------------------------------------------- /Chapter11/events/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/events/webpack.config.js -------------------------------------------------------------------------------- /Chapter11/testing/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/testing/.babelrc -------------------------------------------------------------------------------- /Chapter11/testing/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/testing/.eslintrc -------------------------------------------------------------------------------- /Chapter11/testing/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/testing/.gitignore -------------------------------------------------------------------------------- /Chapter11/testing/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/testing/.prettierrc -------------------------------------------------------------------------------- /Chapter11/testing/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/testing/jest.config.js -------------------------------------------------------------------------------- /Chapter11/testing/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/testing/package-lock.json -------------------------------------------------------------------------------- /Chapter11/testing/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/testing/package.json -------------------------------------------------------------------------------- /Chapter11/testing/setUpTests.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom/extend-expect' 2 | -------------------------------------------------------------------------------- /Chapter11/testing/src/components/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/testing/src/components/App.tsx -------------------------------------------------------------------------------- /Chapter11/testing/src/components/Hello/index.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/testing/src/components/Hello/index.test.tsx -------------------------------------------------------------------------------- /Chapter11/testing/src/components/Hello/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/testing/src/components/Hello/index.tsx -------------------------------------------------------------------------------- /Chapter11/testing/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/testing/src/index.html -------------------------------------------------------------------------------- /Chapter11/testing/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/testing/src/index.tsx -------------------------------------------------------------------------------- /Chapter11/testing/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/testing/tsconfig.json -------------------------------------------------------------------------------- /Chapter11/testing/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter11/testing/webpack.config.js -------------------------------------------------------------------------------- /Chapter12/react-router-with-params/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router-with-params/.gitignore -------------------------------------------------------------------------------- /Chapter12/react-router-with-params/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router-with-params/README.md -------------------------------------------------------------------------------- /Chapter12/react-router-with-params/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router-with-params/package.json -------------------------------------------------------------------------------- /Chapter12/react-router-with-params/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router-with-params/public/favicon.ico -------------------------------------------------------------------------------- /Chapter12/react-router-with-params/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router-with-params/public/index.html -------------------------------------------------------------------------------- /Chapter12/react-router-with-params/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router-with-params/public/logo192.png -------------------------------------------------------------------------------- /Chapter12/react-router-with-params/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router-with-params/public/logo512.png -------------------------------------------------------------------------------- /Chapter12/react-router-with-params/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router-with-params/public/manifest.json -------------------------------------------------------------------------------- /Chapter12/react-router-with-params/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router-with-params/public/robots.txt -------------------------------------------------------------------------------- /Chapter12/react-router-with-params/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router-with-params/src/App.css -------------------------------------------------------------------------------- /Chapter12/react-router-with-params/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router-with-params/src/App.tsx -------------------------------------------------------------------------------- /Chapter12/react-router-with-params/src/components/About/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router-with-params/src/components/About/index.tsx -------------------------------------------------------------------------------- /Chapter12/react-router-with-params/src/components/Contact/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router-with-params/src/components/Contact/index.tsx -------------------------------------------------------------------------------- /Chapter12/react-router-with-params/src/components/Contacts/Contacts.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router-with-params/src/components/Contacts/Contacts.css -------------------------------------------------------------------------------- /Chapter12/react-router-with-params/src/components/Contacts/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router-with-params/src/components/Contacts/index.tsx -------------------------------------------------------------------------------- /Chapter12/react-router-with-params/src/components/Error404/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router-with-params/src/components/Error404/index.tsx -------------------------------------------------------------------------------- /Chapter12/react-router-with-params/src/components/Home/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router-with-params/src/components/Home/index.tsx -------------------------------------------------------------------------------- /Chapter12/react-router-with-params/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router-with-params/src/index.tsx -------------------------------------------------------------------------------- /Chapter12/react-router-with-params/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter12/react-router-with-params/src/routes.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router-with-params/src/routes.tsx -------------------------------------------------------------------------------- /Chapter12/react-router-with-params/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router-with-params/tsconfig.json -------------------------------------------------------------------------------- /Chapter12/react-router-with-params/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router-with-params/yarn.lock -------------------------------------------------------------------------------- /Chapter12/react-router/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router/.gitignore -------------------------------------------------------------------------------- /Chapter12/react-router/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router/README.md -------------------------------------------------------------------------------- /Chapter12/react-router/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router/package.json -------------------------------------------------------------------------------- /Chapter12/react-router/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router/public/favicon.ico -------------------------------------------------------------------------------- /Chapter12/react-router/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router/public/index.html -------------------------------------------------------------------------------- /Chapter12/react-router/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router/public/logo192.png -------------------------------------------------------------------------------- /Chapter12/react-router/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router/public/logo512.png -------------------------------------------------------------------------------- /Chapter12/react-router/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router/public/manifest.json -------------------------------------------------------------------------------- /Chapter12/react-router/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router/public/robots.txt -------------------------------------------------------------------------------- /Chapter12/react-router/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router/src/App.css -------------------------------------------------------------------------------- /Chapter12/react-router/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router/src/App.tsx -------------------------------------------------------------------------------- /Chapter12/react-router/src/components/About.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router/src/components/About.tsx -------------------------------------------------------------------------------- /Chapter12/react-router/src/components/Contact.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router/src/components/Contact.tsx -------------------------------------------------------------------------------- /Chapter12/react-router/src/components/Error404.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router/src/components/Error404.tsx -------------------------------------------------------------------------------- /Chapter12/react-router/src/components/Home.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router/src/components/Home.tsx -------------------------------------------------------------------------------- /Chapter12/react-router/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router/src/index.tsx -------------------------------------------------------------------------------- /Chapter12/react-router/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter12/react-router/src/routes.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router/src/routes.tsx -------------------------------------------------------------------------------- /Chapter12/react-router/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router/tsconfig.json -------------------------------------------------------------------------------- /Chapter12/react-router/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter12/react-router/yarn.lock -------------------------------------------------------------------------------- /Chapter13/counter/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/counter/.gitignore -------------------------------------------------------------------------------- /Chapter13/counter/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/counter/README.md -------------------------------------------------------------------------------- /Chapter13/counter/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/counter/package.json -------------------------------------------------------------------------------- /Chapter13/counter/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/counter/public/favicon.ico -------------------------------------------------------------------------------- /Chapter13/counter/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/counter/public/index.html -------------------------------------------------------------------------------- /Chapter13/counter/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/counter/public/logo192.png -------------------------------------------------------------------------------- /Chapter13/counter/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/counter/public/logo512.png -------------------------------------------------------------------------------- /Chapter13/counter/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/counter/public/manifest.json -------------------------------------------------------------------------------- /Chapter13/counter/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/counter/public/robots.txt -------------------------------------------------------------------------------- /Chapter13/counter/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/counter/src/App.tsx -------------------------------------------------------------------------------- /Chapter13/counter/src/components/Counter/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/counter/src/components/Counter/index.tsx -------------------------------------------------------------------------------- /Chapter13/counter/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/counter/src/index.tsx -------------------------------------------------------------------------------- /Chapter13/counter/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter13/counter/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/counter/tsconfig.json -------------------------------------------------------------------------------- /Chapter13/counter/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/counter/yarn.lock -------------------------------------------------------------------------------- /Chapter13/keys/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/keys/.gitignore -------------------------------------------------------------------------------- /Chapter13/keys/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/keys/README.md -------------------------------------------------------------------------------- /Chapter13/keys/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/keys/package.json -------------------------------------------------------------------------------- /Chapter13/keys/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/keys/public/favicon.ico -------------------------------------------------------------------------------- /Chapter13/keys/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/keys/public/index.html -------------------------------------------------------------------------------- /Chapter13/keys/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/keys/public/logo192.png -------------------------------------------------------------------------------- /Chapter13/keys/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/keys/public/logo512.png -------------------------------------------------------------------------------- /Chapter13/keys/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/keys/public/manifest.json -------------------------------------------------------------------------------- /Chapter13/keys/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/keys/public/robots.txt -------------------------------------------------------------------------------- /Chapter13/keys/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/keys/src/App.tsx -------------------------------------------------------------------------------- /Chapter13/keys/src/components/List/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/keys/src/components/List/index.tsx -------------------------------------------------------------------------------- /Chapter13/keys/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/keys/src/index.tsx -------------------------------------------------------------------------------- /Chapter13/keys/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /Chapter13/keys/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/keys/tsconfig.json -------------------------------------------------------------------------------- /Chapter13/keys/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/Chapter13/keys/yarn.lock -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/React-17-Design-Patterns-and-Best-Practices-Third-Edition/HEAD/README.md --------------------------------------------------------------------------------