dillon1000/react
Commit
Browse files Fix memory leak with renderComponentToString()
This is leaking memory. Move event registration to mount time.
Changed paths7 files
First-parent comparisonsrc/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 ModifiedPatch
Files changed
Rendering syntax-highlighted changes…