IntelliJ Elixir v11.4.0 Elixir Wizards S3E2 - José Valim on Performance and More

Understanding LiveView: build a Gallery app

Understanding LiveView: build a Gallery app

This is the third part of a small series on Phoenix LiveView.

I show at first how to build a simple first version of a gallery app, using a fixed list of images.

Then I refactor the code, decoupling the logic from the liveview part - this makes easier to add a thumbnails functionality.

In the last part I then show how to use :timer to send messages at a regular interval, implementing an automatic slideshow.