dillon1000/react
Commit
Browse files Better error message for renderComponentToString()
Reported on Twitter by AirBnb (who are integrating React into their open-source JS framework). They made a mistake and passed a string in as the component. We should have a better error message for that.
Changed paths2 files
First-parent comparisonsrc/environment/ReactServerRendering.js ModifiedM src/environment/__tests__/ReactServerRendering-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…