Y
Hacker News
new
|
ask
|
show
|
jobs
by
enricozb
321 days ago
Why doesn't react switch to doing a more sensible equality check, rather than relying on JS's unfortunate choices? (E.g. value equality for arrays and objects) I feel like this would simplify most existing sensible code.
1 comments
owebmaster
321 days ago
Comparing objects is quite expensive, JavaScript does not even have APIs for that.
link