Code that looks clean is easy to approve too fast. This is the order I suggest for a review:
- Read the request again before the code. Was anything added that nobody asked for?
- Run it. Use the screen as a user would.
- Test the test. Revert only the fix. The new test should fail.
- Look for repeats. Did it create a component that already exists?
- Use the keyboard. Tab through it and check the focus.
- Check the states. Empty, loading, error, long text.
Write down what you did not check. A review that says "not tested on mobile" is more useful than a plain approval.
[One problem this would have caught in your work.]
What is the first thing you check?
Top comments (0)