mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
13036bfbc8
Previously we crawled all subtrees, even not-yet-mounted ones, to initialize context values. This was not only unecessary, but it also caused an error to be thrown. This commit adds a test and fixes that behavior.