DEV Community

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

Collapse
 
karfau profile image
Christian Bewernitz

We also had this question recently and decided to decouple queries and mutations from the state machines where possible.
In the end the appollo hooks implement their own "state machines" in a way.

It's an ongoing process to convert the existing code, but we are convinced that it's the right approach for us.