refactor(example): cleanup

This commit is contained in:
moklick
2019-09-25 18:50:33 +02:00
parent 4d97a7939f
commit f6513eff10
6 changed files with 77 additions and 55 deletions
+9
View File
@@ -0,0 +1,9 @@
import React from 'react';
import { render } from 'react-dom';
import { unstable_trace as trace } from 'scheduler/tracing';
import ExampleGraph from './ExampleGraph';
trace('initial render', performance.now(), () =>
render(<ExampleGraph />, document.getElementById('root'))
);