backpex
backpex copied to clipboard
Streams for list of items
Streams by default for any kind of collection is a good intuition to have. You should use streams any time you don’t want to hold the list of items in memory – which is most times. Streams are also a goto when you want to efficiently update a single list item without refactoring to a layer of LiveComponents for the items.
https://fly.io/phoenix-files/phoenix-dev-blog-streams/
https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.html#stream/4