Skip to content
All lessons

Tech Insights· nobitagit.github.io

Why I stopped spreading props on React Components

From nobitagit.github.io

Spreading props on a React Component is a very common pattern that I picked up very easily and loved from day 1. With time though I learnt to understand the implications of using the spread operator in different contexts and came to the conclusion that most of the time spreading props in React is best avoided. Let’s see why.

Shared by

Read on nobitagit.github.io
  • React

Book a call

Lessons like this one
shape how we build.

Tell us what you’re building. In one call, we’ll show you how our team would approach it.

Tell us what you’re building, and we’ll show you how we’d approach it.

Still prefer the good old email? Contact us