CONTACT US

Five common mistakes writing react components (with hooks) in 2020

A person standing on a boat throws a fishing net into the water at sunset, with golden light reflecting on the water and distant hills in the background.
  • Using useState when no rerender is needed
  • Using router.push instead of a link
  • Handling actions via useEffect
  • Single responsibility components
  • Single responsibility useEffects

 

Chris Lojniewski

Chris is the CEO of Pagepro, a software house focused on building scalable, high-performance web applications using Next.js and modern headless architectures. Pagepro helps companies move beyond monolithic systems by implementing composable, API-driven platforms that improve performance, flexibility, and long-term maintainability. Chris is a v0 ambassador (https://v0.app/@klojniewski ) and actively explores how AI-assisted development and modern tooling can reduce development friction. His focus is not just on technology choices, but on optimizing delivery processes, architecture decisions, and product scalability.

Article link copied

Close button