Phoenix LiveView 1.2 Released

TL;DR

Phoenix LiveView 1.2 has been officially released, adding support for colocated CSS and other enhancements. The update simplifies styling within LiveView components, though full CSS scoping remains experimental due to browser support issues.

Phoenix LiveView 1.2.0 has been officially released, adding support for colocated CSS within HEEx templates, along with several smaller improvements. The update allows developers to colocate CSS with their components, streamlining styling workflows in Phoenix LiveView applications.

The key feature in LiveView 1.2 is the introduction of colocated CSS, building on previous work for colocated JavaScript. Developers can now embed CSS directly inside HEEx templates using a special