6 lines
178 B
JavaScript
6 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);
|
|
}
|