DEV Community


Discussion on: Status instead of isLoading boolean?

sandromaglione profile image
Sandro Maglione

If you are into functional programming, this is the perfect situation for using a union-type. There are some great libraries in typescript to implement union-types. I am using @practical-fp/union-types, check it out!

Forem Open with the Forem app