Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

pure-render-function

kimagure3MITdeprecated1.0.0

this package is deprecated

A Pure Render Component producing function for React

readme

Pure Render Function

A tiny module for putting your render function inside a PureRenderComponent.

Usage

var MyNowPureComponent = PureRenderFunction(function () {
  return <div/>;
});

Why

Less boilerplate in my actual project, the nicer. Also because these functions will just get called over and over otherwise.

License

MIT