Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There was an interesting discussion about reactive UIs yesterday (https://news.ycombinator.com/item?id=24599560). Sounds like Swift have it fairly sorted. Is there anything like React Native for Swift rendering to html? A sort of “Swift Non Native”?


SwiftWebUI [0], "write SwiftUI Views which display in a web browser." HN discussion [1] from last year of SwiftWebUI.

[0] https://www.alwaysrightinstitute.com/swiftwebui/

[1] https://news.ycombinator.com/item?id=20320820


I remember seeing this project here in HN (or was it Reddit?), but it's more of a proof of concept:

https://github.com/zhuowei/marina

The code itself is pretty easy to understand: https://github.com/zhuowei/marina/blob/master/marina_html.sw...

I think SwiftUI is still settling, so I expect to see more movement in this are in the short-term future. But I don't see Apple releasing an HTML-emitting-SwiftUI by themselves.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: