Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-use DOM nodes when moving widgets and nodes in a list #799

Merged
merged 4 commits into from
Aug 4, 2020

Conversation

agubler
Copy link
Member

@agubler agubler commented Jun 1, 2020

Type: feature

The following has been addressed in the PR:

Description:

Currently the rendering system, detached and re-creates DOM nodes when moving nodes in a list. This change adds the capability to re-parent (aka move) the DOM nodes instead of tearing them down and recreating them.

This is related to an issue reported on the js-framework-benchmark project krausest/js-framework-benchmark#694

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jun 1, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit ea2ed7b:

Sandbox Source
dojo/dojo-codesandbox-template Configuration

@agubler agubler changed the title WIP: Re-use DOM nodes when moving widgets and nodes in a list Re-use DOM nodes when moving widgets and nodes in a list Aug 3, 2020
@codecov
Copy link

codecov bot commented Aug 3, 2020

Codecov Report

Merging #799 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #799      +/-   ##
==========================================
+ Coverage   97.57%   97.59%   +0.01%     
==========================================
  Files         127      127              
  Lines        7970     8012      +42     
  Branches     1839     1851      +12     
==========================================
+ Hits         7777     7819      +42     
  Misses        193      193              
Impacted Files Coverage Δ
src/core/vdom.ts 98.06% <100.00%> (+0.06%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fb806e0...ea2ed7b. Read the comment docs.

@agubler agubler merged commit a664cc7 into dojo:master Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants