| |
Phoenix LiveView 1.2 has been released, introducing colocated CSS functionality that allows developers to write CSS directly within HEEx templates alongside existing colocated JavaScript and hooks. The new feature uses CSS's @scope rule and special phx-r attributes to scope styles to individual components, preventing CSS from unintentionally affecting other page elements. This required significant changes to HEEx template compilation, splitting it into separate tokenization and parsing steps.
Read Full Article →
← More Tech news