Mark optimal components
Published on August 07, 2019← Back to tips
Update the change detection strategy of presentational components from default to OnPush.
This way, the component is refreshed only when input changes.
Compare this with using functional components in React
🎉 Interested in Frontend or Indie-hacking?
I talk about the latest in frontend, along with my experience in building various (Indie) side-projects