@yogthos so component vs mount is kind of 'dependency inversion' vs 'no dependencies'? This makes a lot of sense, but it's hard! Not being able to pass impure functions into your business logic (e.g. find and save) makes finding abstractions that don't significantly reduce the ratio of business logic/IO trickier, at least for me. Would you recommend any patterns/thought processes/examples that help with this?
thanks, will give that a try
one thing that might help is to start with the business logic and to mock out the data you're expecting from external sources
so you'd create a mock API that you get data from, and then work against that, and then you couple it to the actual IO afterwards