01Automate the small stuff, review the big stuff

Reviewing Angular code for a team of five developers taught me that review time is limited, so it has to go where tools can't. Formatting, import order and most style questions belong to Prettier and ESLint. If a human is commenting on semicolons, the tooling is missing.

That leaves review for the things only a person can judge: whether the change fits the architecture, whether data flows sensibly, and whether the next developer will understand it.

02What I actually check

  1. 01

    Does it respect the boundaries?

    Feature importing from another feature? Library imported directly instead of through the shared wrapper? Those are the comments that save months later.

  2. 02

    Is state owned in one place?

    Duplicated state, an effect() copying signals around, or a subscription without teardown are the most common reactivity bugs I flag.

  3. 03

    Is the component the right size?

    A 600-line component doing data loading, formatting and layout should be split into a route component and presentational children.

  4. 04

    Are the unhappy paths handled?

    Loading, empty, error and permission-denied states. The happy path is usually fine; the rest is where users get stuck.

  5. 05

    Can a keyboard user use it?

    Real buttons, labelled inputs, visible focus, focus returned after dialogs. Five minutes of checking beats a later accessibility audit.

  6. 06

    Would I understand it in six months?

    Clear names, types instead of any, and a comment where the code does something non-obvious and why.

03How to write comments that teach

I label every comment by weight: blocking for bugs and architecture problems, suggestion for improvements the author can take or leave, and question when I simply don't understand. Unlabelled comments all read as blocking, which makes reviews feel hostile and slow.

For anything bigger than a nit, I explain why, link an example in our codebase, and, when the same pattern keeps coming up, turn it into a lint rule or a short doc so the next review doesn't need the comment at all.

04The pull request template I use

A short PR template moves part of the review to the author. Most issues get caught before anyone else opens the diff.

.github/pull_request_template.md
## What & why
<!-- one paragraph: the problem, not just the change -->

## Screenshots
<!-- before / after, including empty, loading and error states -->

## Checklist
- [ ] No imports across feature folders; libraries only via shared/ui
- [ ] New components are standalone + OnPush
- [ ] State has one owner; no effect() copying signals
- [ ] Subscriptions use toSignal / takeUntilDestroyed
- [ ] Loading, empty and error states handled
- [ ] Keyboard: reachable, visible focus, labels on icon buttons
- [ ] Tests cover the logic that changed

The takeaway

Let tools handle style, spend review time on boundaries, state, unhappy paths and accessibility, label comments by weight, and turn repeated comments into rules. That's how review raises the bar for the whole team instead of becoming a bottleneck.

Written by Jaymin MahetaSenior UI/UX Developer turning Figma designs into fast, accessible enterprise apps in Angular and React.
About me →