-
Notifications
You must be signed in to change notification settings - Fork 350
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] crash when rendering component before mounting
This commit makes sure that Owl does not crash when a component is created, then updated (for example, with a (observed) state change), and then, some moment later, mounted. The initial render is not useful, because it is not linked to a mounting action anyway. And it caused issues such as a crash when Owl tried to patch it to a non existing target
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 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