chore(deps): use react 17 (#686), remove why-did-you-render dependency

This commit is contained in:
Christopher Möller
2020-11-16 12:49:23 +01:00
parent 6c75635629
commit 30037dcf52
5 changed files with 425 additions and 35812 deletions
-7
View File
@@ -1,13 +1,6 @@
import React, { useMemo, CSSProperties, HTMLAttributes, MouseEvent, WheelEvent } from 'react';
import cc from 'classcat';
const nodeEnv: string = (typeof __ENV__ !== 'undefined' && __ENV__) as string;
if (nodeEnv !== 'production') {
const whyDidYouRender = require('@welldone-software/why-did-you-render');
whyDidYouRender(React);
}
import GraphView from '../GraphView';
import ElementUpdater from '../../components/ElementUpdater';
import DefaultNode from '../../components/Nodes/DefaultNode';