7 lines
178 B
JavaScript
7 lines
178 B
JavaScript
|
import React from 'react';
|
||
|
|
||
|
if (process.env.NODE_ENV === 'development') {
|
||
|
const whyDidYouRender = require('@welldone-software/why-did-you-render');
|
||
|
whyDidYouRender(React);
|
||
|
}
|