mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-30 02:12:22 +03:00
8 lines
218 B
JavaScript
8 lines
218 B
JavaScript
|
import React from 'react';
|
||
|
|
||
|
if (process.env.NODE_ENV === 'development') {
|
||
|
const whyDidYouRender = require('@welldone-software/why-did-you-render');
|
||
|
whyDidYouRender(React, {
|
||
|
trackAllPureComponents: true,
|
||
|
});
|
||
|
}
|