Phoenix LiveView 1.2 Released
AIThis post was created with the assistance of artificial intelligence (AI).

TL;DR

Before you orderOffer from Amazon

Get the latest gadgets delivered free with Prime

  • Fast, free delivery on millions of items
  • Prime Video, Amazon Music and more included
  • Member-only deals all year
Start your free Prime trial Free trial for eligible customers · Cancel anytime
As an affiliate, we earn on qualifying purchases.

Phoenix LiveView 1.2 has been released, adding support for colocated CSS, new compile-time features, and minor improvements. The update enhances component styling and developer flexibility.

Phoenix LiveView 1.2 is now available, introducing colocated CSS support and several small but impactful enhancements for Elixir developers working with real-time web applications.

The release of Phoenix LiveView 1.2 builds on previous versions by adding colocated CSS, allowing developers to embed and scope CSS directly within HEEx templates. This feature leverages the experimental @scope rule, enabling CSS rules to be limited to specific component boundaries. The update also includes new compile-time configurations, such as the optional injection of phx-r attributes for template boundary identification, and improvements like automatic encoding of Phoenix.LiveView.JS structs during push events.

Other minor enhancements include customizable HEEx debug annotations, configurable test warnings, and a new TagFormatter behaviour for formatting

Products Worth Considering

Bose SoundLink Flex Bluetooth Speaker (2nd Gen) – Portable Outdoor Speaker with Hi‑Fi Audio, Waterproof and Dustproof, USB‑C, Up to 12 Hours
Apple MacBook Air 13.6-inch with M5 Chip, 16GB Memory, 512GB SSD, Sky Blue

Apple MacBook Air 13.6-inch with M5 Chip, 16GB Memory, 512GB SSD, Sky Blue

LG UltraGear 34GX90SA-W 34-inch WQHD Curved OLED Gaming Monitor

LG UltraGear 34GX90SA-W 34-inch WQHD Curved OLED Gaming Monitor

As an affiliate, we earn on qualifying purchases.

You May Also Like

Claude Platform on AWS

Anthropic’s Claude Platform on AWS is now generally available, enabling AWS customers to access full features with integrated billing and security.

Google Declaring War on the Web

Google shifts its search strategy towards AI-generated responses, reducing links and potentially dominating information access, raising concerns about web freedom.

You Won’t Believe How Powerful Claude Mythos Preview’s Cybersecurity Is!

Claude Mythos, an advanced AI system, demonstrates the ability to identify and develop exploits in software, raising considerations for cybersecurity strategies and regulation.

Fastmail Offers EU Data Region

Fastmail now offers a dedicated data region in the EU, improving privacy and compliance for European users, confirmed as of April 2024.