Introducing Surface: A new component-based (...)
summary
Surface is a component library built on Phoenix LiveView that parses templates into an AST and enforces a component specification so templates get compile-time validation. It implements explicit properties, data, slots and context with editor introspection, a generated API docs site, and macro components for custom parsing. A release candidate exists and depends on the upcoming LiveView change; community component libraries (Bulma, Tailwind) and editor plugins are already in progress.
AI-written summary · about
chapters (13)
- 0:00Start
- 0:46Motivation
- 2:59Phoenix templates
- 4:14Phoenix's LiveComponent API
- 5:48The goal
- 7:17A Surface component
- 19:36Slots Props
- 22:03Renderless Components
- 23:56Contexts
- 28:18Documentation & Examples
- 29:53Benefits
- 31:07Current status
- 31:54Whats next?
related talks
40mFireside Chat with LiveView Surface
24mLiveView and Web Components
35mKeynote: Fireside Chat on LiveView, (...)
44mWhat's new in LiveView
35mBuilding a Block Based Editor in Phoenix LiveView
01h 13mKeynote: Phoenix LiveView - Interactive Apps without Javascript
51mBuilding web applications with Web Components
46mThe joy of building your startup with Phoenix LiveView
