🔥 A new HOC API: pure()
Andrew (@acdlite) added pure(), a new HOC to bring PureComponent behavior to functional components.
https://github.com/facebook/react/pull/13748
Andrew (@acdlite) added pure(), a new HOC to bring PureComponent behavior to functional components.
https://github.com/facebook/react/pull/13748
GitHub
pure by acdlite · Pull Request #13748 · facebook/react
Note: the discussion for this proposal is in reactjs/rfcs#63. It has since been renamed to React.iss.onemo().
A higher-order component version of the React.PureComponent class. During an update, the pre...
A higher-order component version of the React.PureComponent class. During an update, the pre...