Help make Alexa smarter on Alexa Answers. Sign in with Amazon

Miscellaneous

What is the difference between component and pure component?

1 Answer

If you use React. Component then the child component is also re-rendered if the parent component re-renders itself but in the React. PureComponent, the child component only re-renders if the props passed to it changes.Jan 27, 2021

{{ relativeTimeResolver(1664901927817) }}

LIVE
Points points 2
Rating

Similar Questions
Miscellaneous 2 Answers
Miscellaneous 1 Answer
Miscellaneous 2 Answers
Join Alexa Answers

Help make Alexa smarter and share your knowledge with the world

LEARN MORE

Join Alexa Answers

Help make Alexa smarter and share your knowledge with the world

LEARN MORE