DEV Community

Discussion on: No, disabling a button is not app logic.

Collapse
 
illourr profile image
Dillon Curry

Nice article David.
You never cleanup the Error message in the state charts example, looks like you need to set error to null on entry of the loading state transition.