Code Review Best Practices
What to Look For
- Correctness: Does it work? Edge cases handled?
- Security: Input validation? Auth checks? SQL/XSS?
- Performance: N+1 queries? Unnecessary re-renders?
- Maintainability: Clear naming? Single responsibility?
- Tests: Adequate coverage? Testing behavior not implementation?