We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
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 ofphx-feedback-for
withPhoenix.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 newused_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. ⚠️
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.