LiveView's new Streams
Just tested out LiveView’s new streams. I gotta say, I like the ergonomics! 🙌
- Use phx-update=”stream”
-
Create stream with
stream/2
-
Add/update stream with
stream_insert/4
-
Delete from stream with
stream_delete/3
Thanks Phoenix team!