To tell you the truth I don’t know what you mean by either of the two questions. I tried figuring out what this Elxsy demo was about and the only link to github was to a certain ykurtbas account where no library similar to mine was published but some other unrelated stuff.
As for your question regarding the temporary assigns and phx-update=“prepend” or “append”, yes, that’s the foundation on which my library is based, but your assigns won’t get diffed server-side and sorted + deleted clientside all by themselves, which is why I made this library. Also, my library runs in a real project relying on thousands of nested fully editable and movable LiveComponents within the lists of other such LiveComponents.
To achieve this effect of a freely editable lists and nested lists you need to handle the sorting (repositioning) and deletion and prior to that you need to prepare the assigns in relative to the operations that you’re doing (depending on your diffing of the assigns, not LiveView’s), unless the only function of the list is to keep on growing in one direction.
The docs are all on hex.pm and if you follow the route below, you get to the Listiller documentation easily:
PhoenixLiveViewExt — phoenix_live_view_ext v1.1.0 → Modules → PhoenixLiveViewExt.Listiller → Top