DEV Community

Discussion on: What should I do if an operation depends on another first variable

Collapse
 
fselcukcan profile image
F. Selçuk Can

By setState do you mean setState the second element of the array returned by the useState?