· 2 min read
Organising a Next.js app by feature
One folder per topic, shared code that knows nothing about features, and a linter that keeps it that way.
Muhammad Faisal
Frontend Engineer

· 2 min read
One folder per topic, shared code that knows nothing about features, and a linter that keeps it that way.
Muhammad Faisal
Frontend Engineer

What runs where, why 'use client' is a boundary rather than a label, and the one pattern that makes it click.
Check a value against a type without losing what TypeScript knows about it: the difference between annotating and satisfying.
A consistent error shape, the right status codes and field-level details turn 'Something went wrong' into a message people can act on.
A commit history you can read like a changelog, checked on every commit with Husky and commitlint.
Reveal content as it scrolls in, without a flash before hydration and without forcing motion on people who turned it off.