Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Improve render performance of render each #751

@jwstegemann

Description

@jwstegemann

For larger lists and/or situations, where often a long list of patches results from the diff of two consecutive versions of the lists, it might be a good idea to

  • batch all patches in a list when diffing
  • copy the mount-point node
  • apply all patches to the (invisible) copy
  • switch original mount-point-node and copy

This should improve rendering performance, avoid flickering when for example sorting a huge table, and make sure that animations on single elements all start at the same time (when the copy is mounted to the dom).

For small lists or lists that only result in very few patches between two versions, this might add some unnecessary overhead, so we would either accept this or find a way to make this behavior controllable over the api.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions