Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tko.bind) Fix issue with the dependency chain and huge performance pr…
…oblem This addresses the on-again/off-again performance problem experienced and noted here: https://stackoverflow.com/questions/44414554 The synchronous `applyBindings` that was being called in various bindings (e.g. `template`, `if`, `with`) was being repeated for all child bindings, causing large refreshes. The problem was caused when those bindings (`template`, `if`, etc) were changed to be descendants of `BindingHandler`, and were no longer converted via the `LegacyBindingHandler`. What was the `init` function of those bindings became the `constructor` method of the new handler, but with the important difference that the `constructor` was not being called inside an `dependencyDetection.ignore`.
- Loading branch information
1 parent
132bbca
commit 3074aa9
Showing
11 changed files
with
72 additions
and
46 deletions.
There are no files selected for viewing
Git LFS file not shown
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Git LFS file not shown
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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