Sign in
Log inSign up

Why don‘t use PureComponent everywhere?

Hafeez Hamza's photo
Hafeez Hamza
·Feb 20, 2019

Is shallow comparison really expensive? As of my knowledge, the shallow comparison is just comparing reference values, How it becomes expensive.