Live_view stream support #121
vitocal
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Sharing some improvements i've made to live_view stream usage with live_svelte. I've used @woutdp code as a starting point. Ty very much!
It's still kinda rough, but i've added insert, update, delete and order support! It's still missing the length feature.
Anyway, here's the example:
And add the
live_stream.ts
fileWe could improve it further, but i'm a elixir newbie, i need some guidance.
Anyone knows how can we remove the inlined Jason implementation from our
LiveView
file?Beta Was this translation helpful? Give feedback.
All reactions