mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Some old environments like IE11 or very old versions of jsdom are missing `getRootNode()`. Use feature detection to fall back to `ownerDocuments` in these environments that also won't be supporting shadow DOM anyway.