-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port skew based child diffing (#4010)
* first attempt at porting skew-based * down to only failing fragment test * reduce complexity of placeChild * 2 failing tests left * port skew based diff * add tests for other fixed issues * simplify children diffing * experiment * remove more nextDom st uff * one more try * remove unused import * simplify suspension check, i.e. whether dom is connected by replacing it with _original === null * simplify if check * remove lastDom helper * simplify more checks * always use insertBefore * experiment * add hyrating check back * simplify matcher * try removing isHydrating * Revert "try removing isHydrating" This reverts commit 787ad17. * remove isHydrating * add the !isMounting back
- Loading branch information
1 parent
841ef82
commit d887539
Showing
5 changed files
with
429 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.