dillon1000/react

Commit

Use 'document.createEvent' not 'new Event'

Fixes #5153.

This seems to work in all browsers I tested, including old Android and all IE > 8 which didn't work before.
Browse files
Changed paths1 file
First-parent comparison
M src/shared/utils/ReactErrorUtils.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…