DEV Community

Discussion on: Using Javascript Sets with React useState

Collapse
 
ganes1410 profile image
Ganesh R

Hi, I used Set values to render some UI. So I used it as state. I think we can also use it as an ref too. But I have not tried that.