React team seems to have realized the same thing, and their solution is to what they call React Hooks. It allows devs to write the implementation of the business logic imperatively, but the calling it is effectively declarative.
The hooks are then used to split out the business logic of the app from its view.
The hooks are then used to split out the business logic of the app from its view.