2021-07-01 13:48:10 -07:00
|
|
|
import React from 'react';
|
2021-09-05 14:42:48 -07:00
|
|
|
import { NODE_ENV } from 'soapbox/build_config';
|
2021-07-01 13:48:10 -07:00
|
|
|
|
2021-09-05 14:42:48 -07:00
|
|
|
if (NODE_ENV === 'development') {
|
2021-07-01 13:48:10 -07:00
|
|
|
const whyDidYouRender = require('@welldone-software/why-did-you-render');
|
|
|
|
whyDidYouRender(React);
|
|
|
|
}
|