3 ms·
Phoenix 1.7 and LiveView 0.18 have exceeded my expectations and made things so much easier on the project we're using it on. Specifically: 1. Verified routes b
by innocentoldguy 4y ago
Phoenix 1.7 and LiveView 0.18 have exceeded my expectations and made things so much easier on the project we're using it on. Specifically:
1. Verified routes bring consistency between HTML and the routes defined in router.ex and are checked at compile time.
2. CoreComponents.ex simplifies a lot of HTML.
3. I like the way function components work consistently now.
4. Rendering large data sets with LiveView streams is great.
5. I like the simpler <li :for={item <- @items}><%= item.name %></li> syntax over <%= for item <- @items %><li><%= item.name %></li><% end %>. It's a lot easier to type.
If you're new to LiveView or just looking to get up to speed with all the great changes, Pragmatic Studio has an excellent Phoenix 1.7 LiveView course available: https://pragmaticstudio.com/courses/phoenix-liveview https://pragmaticstudio.com/courses/phoenix-liveview