computer-science
Phoenix LiveView 1.2 Released
Key takeaways
- Posted on June 10th, 2026 by Steffen Deusch
- To update from Live View 1.1 to 1.2, simply update the version requirement in your mix.exs file and re-fetch your dependencies:
- {:phoenix_live_view, "~> 1.2.0"} Colocated CSS In Live View 1.1, we introduced Colocated Hooks and Colocated Java Script, allowing you to write hooks directly inside any HEEx template.
Posted on June 10th, 2026 by Steffen Deusch
To update from Live View 1.1 to 1.2, simply update the version requirement in your mix.exs file and re-fetch your dependencies:
{:phoenix_live_view, "~> 1.2.0"} Colocated CSS In Live View 1.1, we introduced Colocated Hooks and Colocated Java Script, allowing you to write hooks directly inside any HEEx template. Live View 1.2 builds on the background work done for Phoenix.Live View.Colocated JS to allow you to colocate CSS in HEEx too.
Article preview — originally published by Hacker News. Full story at the source.
Read full story on Hacker News →
More top stories
Aggregated and edited by the Scoop newsroom. We surface news from Hacker News alongside other reporting so you can compare coverage in one place.
Editorial policy · Corrections · About Scoop