-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX beta] Ensure roots added during rendering work properly.
When a new root is added during the rendering process (i.e. from `didInsertElement` of one component you `.appendTo` another one), we need to: 1) Ensure that we do not initiate a new transaction (`env.begin()` / `env.commit()`) 2) Ensure that we trigger _renderRoots again if roots were added. This ensures the new roots are properly rendered.
- Loading branch information
Robert Jackson
committed
Sep 15, 2016
1 parent
4e0a23a
commit 779135f
Showing
2 changed files
with
200 additions
and
41 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