Thinking Elixir Podcast cover image

132: Embed Friendly Alternative to LiveView?

Thinking Elixir Podcast

00:00

Using LiveState JavaScript to Build a Live State Application

LiveState is a library that lets you use Phoenix channels to push events up and subscribe to state changes. On the client side, there's a layered approach where there's a low level LiveState JavaScript object library. And then there's a couple of different abstractions over top of that for wrapping custom elements. There's also another abstraction over LiveState that's a React hook. So essentially your custom element code is just rendering state dispatching events That are just custom DOM events, just standard.

Play episode from 21:08
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app