DEV Community

Discussion on: 3 Tips to write better react components

Collapse
 
sarthaksri profile image
Sarthak Srivastava

Hi, Elizabeth. Wanted to ask if there are too many useStates then why didn't you try to convert the component into a class component?