ElixirConf 2023 - Chris Nelson - LiveView: The javascript you need while keeping the Elixir you love

Discover how LiveState, a library by Chris Nelson, enables you to bring the power of Elixir's LiveView to non-Elixir applications using custom HTML elements, providing a more declarative and higher-level unit of abstraction than JavaScript frameworks.

Key takeaways
  • Custom HTML elements are a more declarative and higher-level unit of abstraction than JavaScript frameworks.
  • Live State is a thin abstraction over Phoenix channels, allowing you to use Live View-like functionality in non-Elixir applications.
  • Custom elements can be used to integrate with Live View, providing a way to send data back to the server and receive server-side rendered content.
  • Live State uses lit, a library for building custom elements, to create a live view-like experience in a non-Elixir application.
  • Live State is not an official PNX project, but rather a library created by Chris Nelson.
  • Live State can be used to build applications that integrate with non-Elixir servers, such asสถาจ digital sharing experiences.
  • Custom elements can be used to create reusable UI components and abstract away low-level HTML and CSS details.
  • Live State uses a macro to declare custom elements and their properties, making it easy to create reusable UI components.
  • Live State is in beta and uses Live State under the covers, allowing you to use it in your Live View applications as well.
  • Live State can be used to create interactive e-commerce experiences on statically generated websites.
  • Live State is a powerful tool for creating reusable UI components and abstracting away low-level HTML and CSS details.
  • Chris Nelson is the creator of Launch Elements, a library for building custom elements, and is also the co-founder of LaunchScout, a custom software development company based in Cincinnati.