hi guys. i'm pretty new to react and js. one quest...
# react
d
hi guys. i'm pretty new to react and js. one question is bothering be: is there any reason why we use this when setting component properties:
Copy code
setState {
            zipCode = targetValue    
}
instead of delegated properties? so we can write just this:
Copy code
zipCode = targetValue
i suppose this is due to performance impact since we can batch state changing in one
setState
call. am i correct?