How you start writing LiveView

Andrew Stewart January 15, 2024
Video Thumbnail
Andrew Stewart Logo

Andrew Stewart

View Channel

About

I'm interested in helping people master Elixir, Phoenix, LiveView, TypeScript, Svelte, Neovim, WebRTC, Accessibility, Web standards, Custom Elements, and a bunch more.

Video Description

Want to get started writing Phoenix LiveView? This is my first take at a fully beginner-focused guide on getting started. I think a lot of Phoenix LiveView guides get started on the wrong things. LiveView is not best taught like React: learning how to build stuff like counters and timers is often counter-productive to real world usage of LiveView, which usually involves forms and database access. This video does not cover Elixir or even Phoenix fundamentals, but aims to get you started with a project you can hack on and explain some key concepts. Chapters: 00:00 Intro 01:00 Project overview 06:04 Creating a project 10:04 LiveView for index page 17:14 LiveView for new page 24:17 Making new page 26:32 Forms! 32:20 LiveView events and form submission 37:12 Styling index a bit more 37:44 The magic of LiveView Please consider subscribing or following my socials for more Elixir, Phoenix/LiveView, Svelte, and other programming content: Twitter: https://twitter.com/src_rip

You May Also Like