index.tsx
usestate.ts
hydration.md
event-loop.js

git log --follow --the-why

every frontend concept
has a git blame.

why hooks exist. why the virtual DOM exists. why hydration is weird. we dig through the commit history of ideas so you don't have to.

read the first commit →
pair-programming.gif live
kitten furiously coding on a laptop
status: senior engineer reviewing the PR… from the keyboard
usestate.tscommit a3f9c21
12class Counter extends React.Component {
13- this.state = { count: 0 }
14- this.setState({ count: count + 1 })
13+ const [count, setCount] = useState(0)
14+ setCount(count + 1)
15}
why: class state meant logic tied to a lifecycle you didn't choose. hooks let state live in a function, so you could reuse it without wrapping everything in a class.

recent commits

4 concepts dissected this week

git subscribe --follow

get the next commit in your inbox

new concepts when they ship — no spam, unsubscribe anytime.