Closed Maxino22 closed 1 year ago
I don't think this is LiveSvelte specific, because the bug will still be there even if you use LiveView without LiveSvelte.
What's missing is that you're not assigning the owner in the handle_event. You need to do something like:
{:noreply, assign(socket, owners: new_owners)}
Just like you do in the mount.
my mistake thanks again
HI @woutdp I am building a full stack app performing crud. I have a page that I am pulling data from the db well its a table updates on the table also happen on the same page however when the rcords updated this is not reflected on the ui is there a way around this
That is on the svelte side and here is my phoenix side
There is a form and a modal for creating new owners on my example above... the prop is however not reactive when added kindly help