Fast starts before code ships
Most performance problems start with bad defaults.
Rules
- Keep JavaScript budget small.
- Prefer server-rendered HTML.
- Hydrate only interactive islands.
- Measure before and after changes.
Small example
export function budgetLeft(totalKb: number, usedKb: number) {
return Math.max(totalKb - usedKb, 0);
}
Good article system should make content like this easy to publish and easy to evolve.