Re:SwiftWebUI
by realharo on Monday July 01, 2019 @08:14AM
(#20324512)
So how is it different from React and JSX?
[ Parent
| on HN ]
JSX is an external DSL implemented in and interoperable with JavaScript.
SwiftUI is an internal DSL implemented in Swift and thus allowing the full power of Swift’s rich type system to tag along.
See https://martinfowler.com/books/dsl.html for more discourse on the difference between internal and external DSLs.