2 ms·
It is not on the phone, no. I'm sure eventually you could run it on the phone like Elixir Desktop[1], but that isn't what it is at the moment. The phone connect
by ricketycricket 4y ago
It is not on the phone, no. I'm sure eventually you could run it on the phone like Elixir Desktop[1], but that isn't what it is at the moment. The phone connects to the server via a websocket and the SwiftUI "DOM" is pushed to the client just like HTML would be. In fact, I already built a hybrid Web & Native demo[2] that demonstrates that it's just bog-standard LiveView.
[1] https://github.com/elixir-desktop/desktop https://github.com/elixir-desktop/desktop
[2] https://natetodd.com/building-for-web-and-native-with-liveview-native/ https://natetodd.com/building-for-web-and-native-with-livevi...