dillon1000/react
Commit
Browse files unbreak server-side/web worker
We're now trying to access document directly at require time. Wrapping in a function prevented that before. But we can simply check what environment we're in first.
Changed paths1 file
First-parent comparisonsrc/browser/ui/ReactDOMSelection.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…