David Beck :xcode: on Nostr: I always find it interesting to compare SwiftUI to React because they both run into ...
I always find it interesting to compare SwiftUI to React because they both run into the same challenges but often solve them in very different ways.
Take for instance the problem of representing child components. SwiftUI pushed result builders through to be a core language feature. React basically invented a new superset language that transpiled back to js (https://legacy.reactjs.org/docs/introducing-jsx.html).
Take for instance the problem of representing child components. SwiftUI pushed result builders through to be a core language feature. React basically invented a new superset language that transpiled back to js (https://legacy.reactjs.org/docs/introducing-jsx.html).