Dashboard LiveView
Explore how to build an interactive real-time dashboard using Phoenix LiveView by managing state within components, defining LiveView modules, and handling user authentication and events. Understand the process of setting up routes and templates to quickly launch and test your dashboard.
We'll cover the following...
We'll cover the following...
The socket for the LiveView will have a bit of state that models the page we’re trying to build. For a dashboard, the state is the data we’re presenting. The dashboard we’re building will represent each major section of the page as a component. That means the socket of the LiveView itself will be pretty empty— instead, the socket of each component will hold the data that the component is responsible for ...
...