Skip to content

How to handle long lived operations triggered from presenters? #1805

Answered by ZacSweers
MiSikora asked this question in Q&A
Discussion options

You must be logged in to vote

But this solution isn't provided by the Circuit library, which makes me question whether I'm approaching this correctly.

Not everything needs to be first party! That solutions works well. We could look at adding a CircuitX artifact for it, open to feature requests.

The best advice I've encountered is to use proper dependency injection and maintain a well-structured data layer, but none of the samples or documentation explicitly illustrate this approach.

You are right that we don't really try to detail this in docs, we intentionally aren't trying to teach larger data architecture concepts at the same time as Circuit and every app uses different patterns. We do actually implement a full…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@MiSikora
Comment options

@vulpeszerda
Comment options

Answer selected by MiSikora
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants