Clients load the minimum amount of content needed as users navigate around your app without any compromise in user experience. Live navigation: Enriched links and redirects are just more ways LiveView keeps your app light and performant. Loose coupling: Reuse more code via stateful components with loosely-coupled templates, state, and event handling - a must for enterprise application development. Optimistic updates and transitions: Perform optimistic updates and transitions with JavaScript commands via. Rich integration API: Use the rich integration API to interact with the client, with phx-click, phx-focus, phx-blur, phx-submit, and phx-hook included for cases where you have to write JavaScript. Process your uploads on the fly or submit them to your desired cloud service. Create rich user interfaces with features like uploads, nested inputs, and specialized recovery.įile uploads: Real-time file uploads with progress indicators and image previews. Live form validation: LiveView supports real-time form validation out of the box. Small payloads: LiveView is smart enough to track changes so it only sends what the client needs, making LiveView payloads much smaller than server-rendered HTML. Rich templating language: Enjoy HEEx: a templating language that supports function components, slots, HTML validation, verified routes, and more. Model while keeping your code closer to your data (and ultimately your source of truth):ĭeclarative rendering: Render HTML on the server over WebSockets with a declarative model, including an optional LongPolling fallback. Instead, LiveView enriches the server with a declarative and powerful Have to split work between client and server, across different toolings, layers, andĪbstractions. LiveView brings a unified experience to building web applications.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |