The `Task` itself is a business dependency - as it's a part of the Concurrency package. The best case scenario for a "stupid", declarative view is to output triggered events and consume a state to display π
Comments
Log in with your Bluesky account to leave a comment
All these modifiers are just tools that Apple introduces to make iOS Development more accessible for beginners. All of them have their use cases in real world scenarios, like creating personal project or learning, but not all of them are meant to be used in bigger codebases and production
Fair enough! I really donβt agree that the task modifier is just to make the framework beginner accessible, but I see your point about moving the task and itβs cancellation (from the example) to a VM. Only necessary if you need that code to be testable though.
Comments
The `task` modifier itself is a UI dependency, but the `Task` is part of the Concurrency package, which is usually considered as business code