DEV Community

Discussion on: Status instead of isLoading boolean?

Collapse
 
lucassperez profile image
Lucas Perez

This seems very nice!
Particularly, I like switch case. I think it works nicely when we have many ifs in a row comparing to a single value.
Of course there are many other great suggestions in the comments!