I’m sure others can give good examples too. Similar thing depending on how you want to build the client, like if React Native would work really well for you or if you want to build a native app, then you obviously can’t use liveview with that (though im excited to see where liveview native goes). If your app does very little with the server and needs lots of fancy client-side interactions, it probably makes more sense to use a JS framework. What the Elixir + Phoenix + LiveView approach shares with LiveWire and Hotwire, is a removal of many layers that people assumed were required. It has been the inspiration for other projects like Laravel LiveWire and Rails Hotwire. This definitive guide to LiveView isn’t a reference manual. First, the base foundation of Elixir + Phoenix + LiveView is powerful. So if you expect your app to be providing user interfaces via liveview, I’d hope it would also be able to handle doing that for the login form resource-wise.Īs for when you wouldn’t want to use liveview, the real limitation is when you actually need to do a lot with client-side state. The innovative Phoenix LiveView library empowers you to build applications that are fast and highly interactive, without sacrificing reliability. Declarative assigns and slots provide compile-time warnings and enhanced docs that make building out your own UI or consuming UI libraries such a pleasant experience. It would be lighter for it to be stateless, but it doesn’t really take much power in the first place to operate liveviews, especially a simple login form. Posted on September 21st, 2022 by Chris McCord We’ve been working on some game-changing features for LiveView 0.18.0. Liveview is great for forms, so may as well include that good user experience in the first page a user sees I think the main benefit is password validation status being sent from the backend in real time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |