-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Perform rendering in a fully depth-first manner.
Currently, we inject dom into our container and then update bindings. This causes all child “connectedCallback” calls to fire _before_ we bind property / attribute / etc. updates. That’s problematic because elements have no good way to observe initial deltas in the render tree. Said another way… We used to do this: 1. Create new nodes and inject new nodes into our container. 2. Bind value updates to new nodes. Now we do this: 1. Create new nodes. 2. Bind value updates to new nodes. 3. Inject new nodes into our container. Closes #197.
- Loading branch information
1 parent
ed1ae2d
commit a1a3cd6
Showing
3 changed files
with
126 additions
and
17 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
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