4 ms·
My biggest issue with SwiftUI previews is tweaks to a single UI file rebuilding random dependencies. Like, I just changed a color why is it rebuilding the graph
by zionic 5y ago
My biggest issue with SwiftUI previews is tweaks to a single UI file rebuilding random dependencies. Like, I just changed a color why is it rebuilding the graphing library AGAIN?
- luigi23 5y agoI'm not an expert on Swift, but I can only guess that code injection mechanism that's been used for Previews resolves changes incorrectly. Or the state got out of sync, so it's safer to rebuild the project rather than crash/timeout. Which unfortunately happens quite often, even after rebuild.