Become a member
Sign in
When to use Component or PureComponent
7.9K
26
paul christophe
Siluveru Kiran Kumar
Siluveru Kiran Kumar
Sep 6, 2018 · 1 min read

Never mutate data means I can use setState() to change the state data right……. generally Mutating state data and props data not acceptable in React. is this correct?

  • Purecomponent
  • Shallow Comparison
  • Mutatin
  • Setstate
Siluveru Kiran Kumar

Written by

Siluveru Kiran Kumar

See responses (1)

Discover Medium

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Make Medium yours

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Become a member

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade
AboutHelpLegal