mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 04:52:06 +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,
|
|
});
|
|
} |