01
Organize around the product
Group related features so a change to a learning flow or a checkout does not require searching across unrelated directories. Keep shared primitives small and predictable.
02
Give state an owner
Use local state for local interactions, a server-state cache for remote data and shared state only when multiple features actually need it. Avoid making every value global.
03
Keep the first load intentional
Load heavy embeds and specialized interactions only when needed. Reserve the dimensions of media so the layout remains stable while assets arrive.
04
Measure real journeys
Test the routes people actually use on slower devices. A fast landing page matters, but so do the forms, dashboards and transitions that follow it.
A note by Ahmed Esmail, full-stack engineer working across frontend experiences, connected systems, and deployment.


