Skip to content
ClapelloNotes by Barath

A learning notebook, in public

Tech notes that actually stick.

Short, visual explainers on React, Node.js and more. Read a topic in 5 minutes. Recall it in 30 seconds.

From: What is React? →

How it works

Read. Recall. Revisit.

  1. 3–6 min

    Read

    One idea per page: why it exists, a picture of how it works, real code, and the traps.

  2. 30 sec

    Recall

    Every topic ends with questions. Answer first, then tap. Pulling it out of your head is what makes it stick.

  3. anytime

    Revisit

    Mark topics learned and watch your progress. A spaced-repetition Revise mode is next on the build list.

Tracks

Pick a subject.

Track 01LiveReactBuild interfaces out of small pieces that update themselves when your data changes.17 chapters · 99 topics
Beginner to advanced

On the way

  • 02Node.jsJavaScript outside the browser: servers, files and the event loop.Soon
  • 03Next.jsReact with routing, data and rendering built in.Soon
  • 04Frontend ArchitectureHow big frontends stay fast, sane and easy to change.Soon
  • 05AI for developersLLMs, prompts and building with AI, minus the hype.Soon

Just added

Fresh in the notebook.

  1. React · 76Responding to eventsGive onClick, onChange and friends a function. React calls it when the event happens and passes an event object describing what happened.Beginner4 min
  2. React · 77The React event objectYour handler gets a React event object, also called a synthetic event. It wraps the browser's event with the same standard fields, and the original is in e.nativeEvent.Core4 min
  3. React · 78Bubbling, stopPropagation & preventDefaultAn event runs the clicked element's handler, then bubbles up through every parent's handler. stopPropagation stops the climb, and preventDefault stops the browser's own action.Core4 min
  4. React · 79Controlled forms with many fieldsText, textarea, select, checkbox and radio all follow one pattern, value from state and onChange back to state. One object and one handler can run a whole form.Core4 min