DEV Community

Discussion on: UseEffect dependency array and object comparison!

Collapse
 
axelthat profile image
Axel

"We all know creating objects in javascript is an expensive operation and we are trying to do that twice!!"

Creating objects in javascript is expensive? How come? Am I missing something here?