Skip to content

rich-lab/umi-plugin-wdyr

Repository files navigation

umi-plugin-wdyr

NPM version NPM downloads

umi plugin for why-did-you-render

usage

Install

# by npm
$ npm install umi-plugin-wdyr
# by yarn
$ yarn add umi-plugin-wdyr

enable whyDidYouRender

// config/config.(j|t)s or .umirc.(j|t)s
{
  // ...other configs
  whyDidYouRender: {},
}

You can checkout the fully config options from why-did-you-render#options.

whyDidYouRender preview

umi whyDidYouRender preview