Stop using isLoading booleans

By Kent C. Dodds.

View original

Excerpt: Why using a status enum (or even better: a state machine) will help your app stay bug free