Ccodemod-com-bot

react-pure-render-mixin

Replace PureRenderMixin with shouldComponentUpdate using React.addons.shallowCompare

React
Public
0 executions
Run locally
npx codemod react-pure-render-mixin
Documentation

react-pure-render-mixin

Replace PureRenderMixin with shouldComponentUpdate using React.addons.shallowCompare.

Usage

bash

Options

  • mixin-name: custom mixin identifier to replace. Default: PureRenderMixin.
  • explicit-require: when false, run even if no React import/require is present. Default: true.

Ready to contribute?

Build your own codemod and share it with the community.