Phoenix liveview 1.0 is out 🎉

LiveView 1.0.0 is out!

This 1.0 milestone comes six years after the first LiveView commit.

Why LiveView

I started LiveView to scratch an itch. I wanted to create dynamic server-rendered applications without writing JavaScript. I was tired of the inevitable ballooning complexity that it brings.

Think realtime form validations, updating the quantity in a shopping cart, or real-time streaming updates. Why does it require moving mountains to solve in a traditional stack? We write the HTTP glue or GraphQL schemas and resolvers, then we figure out which validation logic needs shared or dup’d. It goes on and on from there – how do we get localization information to the client? What data serializers do we need? How do we wire up WebSockets and IPC back to our code? Is our js bundle getting too large? I guess it’s time to start turning the Webpack or Parcel knobs. Wait Vite is a thing now? Or I guess Bun configuration is what we want? We’ve all felt this pain.

The idea was, what if we removed these problems entirely? HTTP can go away, and the server can handle all the rendering and dynamic update concerns. It felt like a heavy approach, but I knew Elixir and Phoenix was perfectly suited for it.

Six years later this programming model still feels like cheating. Everything is super fast. Payloads are tiny. Latency is best-in-class. Not only do you write less code, there’s simply less to think about when writing features.

Read in full on the Phoenix Blog here:

Dockyard also blogged: Phoenix LiveView Goes 1.0

Congratulations to the whole team who worked on this :heart::heart:

169 Likes

Have been waiting for this moment so long! Thanks so much for all your hard work! :heart_eyes:

7 Likes

Congratulations Chris and everyone who has worked on LiveView - I can’t believe it’s been 6 years already!

I guess all good things come to those who wait! :smiley:

8 Likes

Wow, now is the best time for me to update my projects! :partying_face: :tada:

4 Likes

I’m particularly interested in the “hot code upgrade” section in the blog. Could you explain how it’s implemented?

Are there any example codes?
Is it specific to the Fly platform?
Can I implement it with any Docker container?

Thanks

4 Likes

Wow, the much awaited is finally here. Congratulations Chris, Jose and the whole team :tada: :partying_face:

3 Likes

Congratulation to all the elixir and Phoenix team and all the people who worked on it.
Thank you Phoenix and elixir team

2 Likes

Congrats Phoenix team!

It might be age fogging my memory, but did LiveView take longer to hit 1.0 than Phoenix itself?

4 Likes

Waiting for Programming Phoenix Liveview now :heart_eyes:. @SophieDeBenedetto

16 Likes

Want to shoutout to the Elixir and Phoenix devs, it was so cool to bump the package, run format and all the streamlined Heex changes applied automatically.


Small things like this makes working in the ecosystem a joy.

15 Likes

Congrats ! It is a joy to use. The whole Phoenix ecosystem and Elixir itself. Five years ago I rewrote an entire system I am responsible for (sole developer) from Erlang to Elixir and expanded it a lot thanks to Phoenix and in particular LiveView.

4 Likes

:tada: :tada: :tada:
Congrats!

3 Likes

Congratulations and thanks to everyone who worked on it :slight_smile:

3 Likes

Arriving here wouldn’t have been possible without the help of the Phoenix team, especially Steffen Deusch, who has tackled countless LiveView issues over the last year.

Credits where credits due. Thanks Steffen!

4 Likes

Wahoo! Great news and fantastic work to everyone involved!

Thank you!

3 Likes

:tada: Huge congratulations to the team on the release of Phoenix liveview v1.0! :rocket:

A heartfelt thank you to the entire team and contributors who poured their hard work, vision and passion into making Phoenix what it is today.

4 Likes

great work elixir, pheonix team and everyone

3 Likes

Feeling happiest for @SophieDeBenedetto and @redrapids, their never-ending cycle of book revisions can finally end!

They must have the record at pragprog for beta book revisions.

10 Likes

Which version, its not working for me

3 Likes

Thank you! To be clear. the endless revisions mean that someone has been doing a lot of work on behalf of all of us. This is a fabulous accomplishment by the whole Phoenix team, and endless people who have promoted, used, built, and otherwise made this framework flourish.

Congrats, team.

Now, to the basement to work on the first release candidate for Programming Phoenix LiveView. :slight_smile:

27 Likes