~/talk

Learn React Hooks By Building An Auth Based To Do App

Talkat ReactEurope 2020 · 2020-05-14..05-15· [react, security]
slides:none on file

Builds an auth‑backed to‑do app using create‑react‑app with the TypeScript template and Bootstrap and reactstrap for styling and styled‑components for presentation, plus UUID for ids and JSONPlaceholder as a fake REST API. Implements concrete custom hooks like useAuthHandler (persists auth to localStorage) and useErrorHandler (auto clears after 3s), uses useReducer to add and toggle todos, uses useRef for the input and useEffect to fetch a random joke, and the demo successfully adds items and toggles complete.

AI-written summary · about

  1. 0:00Intro
  2. 0:46What You Can Expect
  3. 0:56Clone Read
  4. 4:08Are there any rules?
  5. 4:41Use State Hook (useState)
  6. 7:49Use Custom Hook (use...)
  7. 11:50Use Context Hook (useContext)
  8. 16:26Use Effect Hook (useEffect)
  9. 19:14Use Ref Hook (useRef)
  10. 22:24Use Reducer Hook (useReducer)
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.