Skip to content

Why not used with SwiftUI View #66

Answered by hmlongco
Foixa asked this question in Q&A
Discussion options

You must be logged in to vote

Factory is used in SwiftUI to provide services to views and view models. I wouldn't recommend creating views with it, especially considering how often SwiftUI rebuilds and diff's the view tree in response to state changes.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hmlongco
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants