dillon1000/react

Commit

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.
Browse files
Changed paths2 files
First-parent comparison
M src/utils/PooledClass.js ModifiedA src/utils/__tests__/PooledClass-test.js Added
Patch

Files changed

Rendering syntax-highlighted changes…