DEV Community

loading...

Discussion on: Status instead of isLoading boolean?

Collapse
fatehmohamed14 profile image
Fateh Mohamed 🐢

You can create an Enum type for those status

Collapse
joannaotmianowska profile image
Joanna Otmianowska Author

Good tip! Thanks :)

Forem Open with the Forem app