Deleting LiveView Stream Elements by `dom_id`
We can delete LiveView stream elements with stream_delete/3
(already awesome!)
But we need the full record in memory. 😔
What if we only have the dom ID? 🤔
LiveView ships with a stream_delete_by_dom_id/3
function that lets us use the dom_id
! 🥳
👀 short video exploring that! https://youtu.be/tg377m24Jls
Read next ExRoseTree - A Rose Tree and Zipper in Elixir with a slew of navigation primitives.