Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streams for list of items #414

Open
pehbehbeh opened this issue Jun 26, 2024 · 0 comments
Open

Streams for list of items #414

pehbehbeh opened this issue Jun 26, 2024 · 0 comments
Labels
feature New feature

Comments

@pehbehbeh
Copy link
Member

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

@pehbehbeh pehbehbeh added the feature New feature label Jun 26, 2024
@pehbehbeh pehbehbeh moved this to Backlog in Backpex Roadmap Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
Status: Backlog
Development

No branches or pull requests

1 participant