dillon1000/react
Commit
Browse files Ensure a pooled class releases back into the pool an instance of that class
Also added tests for PooledClass. Noticed that some places use `ReactReconcileTransaction.release(transaction)`, when `transaction` might be of another class, say `ReactServerRenderingTransaction` (still a Github PR). This catches that.
Changed paths2 files
First-parent comparisonsrc/utils/PooledClass.js ModifiedA src/utils/__tests__/PooledClass-test.js AddedPatch
Files changed
Rendering syntax-highlighted changes…