4 ms·
I love working with Elixir and hope to be able to find a new gig where I can continue doing that. That's the hardest part unfortunately still. But more ontopic
by lycos 3y ago
I love working with Elixir and hope to be able to find a new gig where I can continue doing that. That's the hardest part unfortunately still.
But more ontopic, has anyone here already used these LiveView Streams in production? Based on this example it feels like I'm having to manage a lot more myself with the only real advantage being less memory usage, right?
I'm just wondering where/when it makes sense to play with this instead of, for example, temporary_assigns with phx-update="append". Are there more advantages than the memory usage reduction?
- di4na 3y agoI refactored my profiling library to use them. They reduce the amount of stuff to manage. Instead of keeping a whole list of stuff organise, you just pass stuff to the stream and everything just works with good diff.