DEV Community

Discussion on: Handling Objects in React Component State

Collapse
 
mithunkumarc profile image
ಮಿಥುನ್

As a beginner i had this question about why we need to use new brand object for setXXX() method, this article cleared my doubt.

Collapse
 
hannakim91 profile image
Hanna (she/her)

Glad to hear it was helpful for you!