4 ms·
I haven't written Elixir professionally the last couple of years, but I was an early user of LiveView when it was first demoed at a conference. As someone who
by vinnymac 3y ago
I haven't written Elixir professionally the last couple of years, but I was an early user of LiveView when it was first demoed at a conference.
As someone who currently writes applications using React Server Components, I am interested to see how concepts like LiveView evolve over time. We are now shipping significantly more HTML than before, and a lot less Javascript, as more has been moved to the server.
Makes me wish LiveView was portable to every other platform I work on, rather than having to convince companies to write more Elixir (although that isn't a bad thing).
- nocsi 3y agoThere's https://native.live https://native.live if you want to deploy it as a native app. You can also embed React Components into LiveView if you wanted. Elixir can be anywhere you want it to be.
- gnutrino 3y agoI haven't looked into this much, but saw someone do a talk on it at ElixirConf maybe two years ago. I bet it's much more robust now.
- floodfx 3y agoThere is a port of it to JavaScript/Typescript. https://LiveViewJS.com https://LiveViewJS.com It uses the same front end javascript from Phoenix and speaks the same protocol. Note: am author
- golemiprague 3y ago[dead]
- jjdeveloper 3y agoDoes this work with Astro (or Next.js)?
- nhumrich 3y agoYou could look into htmx, which is a more language agnostic way to do it.
- brightball 3y agoThe downside to doing this in other languages is that there is a collection of trade offs to do it well that aren’t easy outside of the BEAM.