made with Svelte

LiveSvelte

Svelte inside Phoenix LiveView

Visit Site

Description

Svelte inside Phoenix LiveView

"This project showcases Svelte inside Phoenix LiveView with seamless end-to-end reactivity. 

Phoenix LiveView enables rich, real-time user experiences with server-rendered HTML. It works by communicating any state changes through a websocket and updating the DOM in realtime. You can get a really good user experience without ever needing to write any client side code.

LiveSvelte builds on top of Phoenix LiveView to allow for easy client side state management while still allowing for communication over the websocket.

Svelte handles the look and feel of the chat, while LiveView takes care of syncing. E2E reactivity to the Svelte component so we don't really need to fetch anything!"

Reasons why you'd use LiveSvelte:

  • You have (complex) local state
  • You want to take full advantage of Javascript's ecosystem
  • You want to take advantage of Svelte's animations
  • You want scoped CSS
  • You like Svelte and its DX

Social Media Links

Chad RPG AI-driven Role-Playing Game
icon-eye-dark Created with Sketch. 829
inlang Localization Solution for Mobile & Web Apps
icon-eye-dark Created with Sketch. 1.699
Sentry for Svelte Svelte Error & Performance Monitoring
🧑 Sponsored by Friends
We’re hosting on Digital Ocean! πŸ’™ Try it today and get a free $100 credit.
Convos Multiuser Chat Application
icon-eye-dark Created with Sketch. 2.926
SparseLab Finite Element Analysis (FEA) Simulator
icon-eye-dark Created with Sketch. 766