forked from meteor/meteor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid recursion when materializing DOM (Fix meteor#3028)
This way we don't get a stack overflow when materializing nested Views. Certain browser/OS combinations seem to have particularly low budgets (especially Firefox/Windows apparently). Verified by running https://github.com/mxab/meteor-call-stack-exceed on Chrome/Mac. Nesting limit used to be about 160, but now you get unlimited nesting (tried up to 10,000, which renders in about 7-8 seconds). Tested for correctness by running all package tests.
- Loading branch information
Showing
2 changed files
with
134 additions
and
50 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