logoalt Hacker News

uncomputationyesterday at 7:54 PM1 replyview on HN

How is SwiftUI dated? It uses a declarative model. I don’t see UI framework paradigms shifting that much.


Replies

aatd86yesterday at 8:45 PM

It is virtual dom like. We don't have access to a stable underlying element like we would with plain UIKit. You can build declarative models without this virtualdomness. But SwiftUI was created during the react boom so they went with the Zeitgeist, understandably.

Now this is somewhat problematic if someone wants to implement better fine grained reactive systems. And I posit that the next paradigm is going to be in that direction given what I've been working on (furthering current reactive systems which only go halfway).