CodeSync

CodeSync

Forum Sponsor

LiveView and Web Components

Comments welcome! View the code-sync tag for more Code Sync talks!

Showing Posts 1 to 1

DaAnalyst

DaAnalyst

.. plus, assuming you need some client-side state dependent template rendering in an actual Phoenix LiveView app:

  • shadow DOM + id a must unless you want to use the phx-update="ignore"
  • importing (a copy of) the tailwind sheet and having the render root adopt it when you need the same styling as throughout the rest of the app
  • in dev, listening to app.css getting changed by tailwind and rebuilding app.js if you need to add tailwind classes to custom elements that don’t yet exist elsewhere on the fly
  • writing your own directives to supplement Lit (e.g. for window events)
  • …

Web components are truly awesome because there’s virtually nothing you can’t do client-side in an elegant and future-proof way.

— All posts loaded —

Where Next? Top

Trending in Talks Top

CodeSync
Union of the Snake - Parker Selbert & Shannon Selbert | ElixirConf EU 2026 https://www.youtube.com/watch?v=hRa8ACrTVDs Comments we...
New
CodeSync
Update from the Nerves Core Team - Jon Carstens | ElixirConf US 2026 https://www.youtube.com/watch?v=7VbPvlKxF9k Comments welcome! Vie...
New
CodeSync
Update from the Erlang Ecosystem Foundation - Dan Janowski | ElixirConf US 2026 Comments welcome! View the <span class="h...
New
CodeSync
Legion: Agentic Code Execution with Pure Elixir - Dima Mikielewicz | ElixirConf EU 2026 https://www.youtube.com/watch?v=VrtoRuBCWBc Co...
New
CodeSync
Distributed Erlang lessons from Livebook - Hugo Baraúna | ElixirConf EU 2026 Comments welcome! View the <span class="hash...
New
CodeSync
Bringing LiveView to the Client with Popcorn - Franciszek Kubis | ElixirConf EU 2026 https://www.youtube.com/watch?v=dZYrPTdCVeo Comme...
New
CodeSync
Nerves, NIFs, and Snake - Gus Workman | ElixirConf EU 2026 https://www.youtube.com/watch?v=oTuoPu4pYVs Comments welcome! View the <spa...
New

Other Trending Topics Top

GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
261 13183 112
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
PJUllrich
On November 23, 2026, an unauthorized third party exploited a vulnerability in hex.pm (CVE-2026-129514, CVSS 10.0) that let them run comm...
New
charlenopires
Hi everyone :waving_hand: I’ve been working on PhiaUI, an open-source UI component library for Phoenix LiveView, and I wanted to share i...
New
akoutmos
@hugobarauna, Dr. Dimitrios Koutmos (my brother) and I (Alex Koutmos) have been hard at work on writing a book on how you can use Elixir ...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews