Skip to content
This repository has been archived by the owner on Feb 7, 2022. It is now read-only.

Latest commit

 

History

History
20 lines (15 loc) · 1.72 KB

README.md

File metadata and controls

20 lines (15 loc) · 1.72 KB

react-demo

This is the repository (modified from create-next-app) created in the GunnHacks 8.0 React Workshop. If you missed the workshop, had trouble setting up, or were left confused by my fast pace (sorry!), a recording of the workshop can be found here.

If you want to follow along from a specific point in the recording, this repository's commits correspond with the following sections of the workshop:

  1. Introduction to git and npx create-next-app
  2. JSX, components, props, props.children, .module.css
  3. Navbar and client side routing with <Link>, <Head>, _app.js
  4. Directories in routing
  5. useState using a counter page
  6. Creating a todo app with state
  7. useEffect and deps with localStorage persistence

useRef was mentioned very briefly at the end of the workshop which is referenced in the final commit.

Hopefully this demo helped improve your knowledge of web development. Good luck and happy hacking!