Re:Elixir – Phoenix LiveView Native
by ricketycricket on Friday September 02, 2022 @05:37PM
(#32696008)
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
[2] https://natetodd.com/building-for-web-and-native-with-livevi...
So OTP is running natively on the phone.
This is essentially React Native reinvented with Elixir, which to me is pretty awesome because I really dislike React Native although we have done quite a few projects with it :)
Edit: Totally mistaken, I stand corrected! Turns out I jumped the gun instead. Hopefully FireFly and this CAN give me the RN replacement I desire.