dillon1000/react

Commit

Fix memory leak with renderComponentToString()

This is leaking memory. Move event registration to mount time.
Browse files
Changed paths7 files
First-parent comparison
M src/core/ReactDOMComponent.js ModifiedA src/core/ReactPutListenerQueue.js AddedM src/core/ReactReconcileTransaction.js ModifiedM src/core/__tests__/ReactDOMComponent-test.js ModifiedA src/core/putDOMComponentListener.js AddedM src/environment/__tests__/ReactServerRendering-test.js ModifiedM src/event/EventPluginHub.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…