├── .gitignore ├── .prettierrc ├── README.md ├── package.json ├── public ├── antic-slab.woff2 └── index.html ├── src ├── __tests__ │ ├── 02-testing-hooks.js │ └── 05-testing-effects.js ├── index.js ├── lessons │ ├── 01-use-state-hook.js │ ├── 02-testing-hooks.js │ ├── 03-state-custom-hook.js │ ├── 04-use-effect-local-storage.js │ ├── 05-testing-effects.js │ ├── 06-vanilla-tilt.css │ ├── 06-vanilla-tilt.js │ ├── 07-stopwatch-with-state.js │ ├── 08-stopwatch-use-reducer.js │ ├── 09-stopwatch-set-state.js │ ├── 10-custom-stopwatch-hook.js │ ├── 11-react-memo.js │ ├── 12-react-lazy.js │ ├── 12-react-lazy.tilt.js │ ├── 13-suspense-fundamentals.js │ ├── 14-react-cache.js │ └── fetch-pokemon.js └── setupTests.js └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/react-hooks-and-suspense-egghead-playlist/HEAD/.prettierrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/react-hooks-and-suspense-egghead-playlist/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/react-hooks-and-suspense-egghead-playlist/HEAD/package.json -------------------------------------------------------------------------------- /public/antic-slab.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/react-hooks-and-suspense-egghead-playlist/HEAD/public/antic-slab.woff2 -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/react-hooks-and-suspense-egghead-playlist/HEAD/public/index.html -------------------------------------------------------------------------------- /src/__tests__/02-testing-hooks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/react-hooks-and-suspense-egghead-playlist/HEAD/src/__tests__/02-testing-hooks.js -------------------------------------------------------------------------------- /src/__tests__/05-testing-effects.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/react-hooks-and-suspense-egghead-playlist/HEAD/src/__tests__/05-testing-effects.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/react-hooks-and-suspense-egghead-playlist/HEAD/src/index.js -------------------------------------------------------------------------------- /src/lessons/01-use-state-hook.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/react-hooks-and-suspense-egghead-playlist/HEAD/src/lessons/01-use-state-hook.js -------------------------------------------------------------------------------- /src/lessons/02-testing-hooks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/react-hooks-and-suspense-egghead-playlist/HEAD/src/lessons/02-testing-hooks.js -------------------------------------------------------------------------------- /src/lessons/03-state-custom-hook.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/react-hooks-and-suspense-egghead-playlist/HEAD/src/lessons/03-state-custom-hook.js -------------------------------------------------------------------------------- /src/lessons/04-use-effect-local-storage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/react-hooks-and-suspense-egghead-playlist/HEAD/src/lessons/04-use-effect-local-storage.js -------------------------------------------------------------------------------- /src/lessons/05-testing-effects.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/react-hooks-and-suspense-egghead-playlist/HEAD/src/lessons/05-testing-effects.js -------------------------------------------------------------------------------- /src/lessons/06-vanilla-tilt.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/react-hooks-and-suspense-egghead-playlist/HEAD/src/lessons/06-vanilla-tilt.css -------------------------------------------------------------------------------- /src/lessons/06-vanilla-tilt.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/react-hooks-and-suspense-egghead-playlist/HEAD/src/lessons/06-vanilla-tilt.js -------------------------------------------------------------------------------- /src/lessons/07-stopwatch-with-state.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/react-hooks-and-suspense-egghead-playlist/HEAD/src/lessons/07-stopwatch-with-state.js -------------------------------------------------------------------------------- /src/lessons/08-stopwatch-use-reducer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/react-hooks-and-suspense-egghead-playlist/HEAD/src/lessons/08-stopwatch-use-reducer.js -------------------------------------------------------------------------------- /src/lessons/09-stopwatch-set-state.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/react-hooks-and-suspense-egghead-playlist/HEAD/src/lessons/09-stopwatch-set-state.js -------------------------------------------------------------------------------- /src/lessons/10-custom-stopwatch-hook.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/react-hooks-and-suspense-egghead-playlist/HEAD/src/lessons/10-custom-stopwatch-hook.js -------------------------------------------------------------------------------- /src/lessons/11-react-memo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/react-hooks-and-suspense-egghead-playlist/HEAD/src/lessons/11-react-memo.js -------------------------------------------------------------------------------- /src/lessons/12-react-lazy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/react-hooks-and-suspense-egghead-playlist/HEAD/src/lessons/12-react-lazy.js -------------------------------------------------------------------------------- /src/lessons/12-react-lazy.tilt.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/react-hooks-and-suspense-egghead-playlist/HEAD/src/lessons/12-react-lazy.tilt.js -------------------------------------------------------------------------------- /src/lessons/13-suspense-fundamentals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/react-hooks-and-suspense-egghead-playlist/HEAD/src/lessons/13-suspense-fundamentals.js -------------------------------------------------------------------------------- /src/lessons/14-react-cache.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/react-hooks-and-suspense-egghead-playlist/HEAD/src/lessons/14-react-cache.js -------------------------------------------------------------------------------- /src/lessons/fetch-pokemon.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/react-hooks-and-suspense-egghead-playlist/HEAD/src/lessons/fetch-pokemon.js -------------------------------------------------------------------------------- /src/setupTests.js: -------------------------------------------------------------------------------- 1 | import 'react-testing-library/cleanup-after-each' 2 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/react-hooks-and-suspense-egghead-playlist/HEAD/yarn.lock --------------------------------------------------------------------------------