rookLab / react-component-caching

Speedier server-side rendering with component caching in React 16
388 stars 26 forks source link

Refactor simple component caching #7

Closed mejincodes closed 6 years ago

mejincodes commented 6 years ago

This update refactors the simple component caching code, boiling down duplicate code to a single do-while loop and gutting the unused "pairs" object.