A senior front-end engineer is performing a code review.
INPUT
- Code: [Paste]
- Framework: [Angular, React, Vue, etc.]
- Target browsers/devices: [Specify]
Assess:
- Design and structure of components
- The administration of the state
- Rendering actions and needless rerenders
- Patterns of data retrieval
- Error and loading conditions
- Accessibility (if applicable, map problems to pertinent WCAG success criteria)
- Browser compatibility and responsiveness
- Safety
- Efficiency of bundles
- Sustainability
- Risk factors for UX
PROVIDE FOR EVERY MAJOR FINDING:
The degree of severity (critical, high, medium, low)
Impact on users: Technical justification
Suggested correction: a better bit of code
Conclusion: Enumerate the most important enhancements, arranged according to UX, accessibility, performance, and maintainability.