I recently joined a struggling team for part-time consulting
I recently joined a struggling team for part-time consulting.
After some coaching and code reviews, things are going smoothly!
Here are 6 key improvements:
✅ Consistently declaring types (instead of frequently using any)
✅ Using Zod to validate responses (instead of just hoping JSON responses are right)
✅ Handling errors via error boundaries (instead of doing a console.log in catch)
✅ Reusing components (instead of everyone starting from scratch)
✅ Using custom react-query hooks for caching and reuse (instead of calling Axios in useEffect)
✅ Writing Playwright tests and running them on CI for each PR (instead of manually testing each PR)
Seeing the transformation is deeply rewarding.
Sound useful for your team? Ping me: http://reactjsconsulting.com
(I coach teams on much more than just React)