It’s finally here: 10 years since Phoenix was first released, and 5 years since the first commit to Phoenix LiveView, LiveView has reached v1.0.0! I wish huge congratulations to the Phoenix team, and I hope this news encourages more people to take a chance on my favorite framework.

v1.0.0 isn’t actually a huge jump from the previous version, v0.20. There’s only one backwards-incompatible change: the replacement of phx-feedback-for with Phoenix.Component.used_input?/2, which you can read about in the changelog (and also in my new course, which has a chapter that explains the new used_input?/2 function in detail 😉.)

Other than that, the release mostly contains minor enhancements and bug fixes, but there’s one major enhancement that will be the subject of this post: you can now use curly braces { … } as an alternative to <%= … %>:

<!-- old style -->
<%= @something %>

<!-- new style -->
{@something}
continue reading on arrowsmithlabs.com

⚠️ This post links to an external website. ⚠️