Skip to content

Support different types of swapping? #145

Description

@adithyaov

hx-swap like feature may actually be very useful. Primarily to append a new
element to the list of elements.

Right now, since the entire hyperview is replaced, I have to think about the
entire view rather than just adding a new element at the end of a hyper view. I
also have to fetch the entire list again from my store on every addition.

In the Todo example, we do Todos.loadAll every time there is a SubmitTodo.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions