refactor(elements): render only visible elements

This commit is contained in:
moklick
2021-10-19 14:57:34 +02:00
parent 410b12946d
commit 1525af39cf
21 changed files with 376 additions and 217 deletions
+5
View File
@@ -5,6 +5,7 @@ import { BrowserRouter as Router, Route, Switch, withRouter } from 'react-router
import Basic from './Basic';
import UpdateNode from './UpdateNode';
import Stress from './Stress';
import CustomNode from './CustomNode';
import './index.css';
@@ -21,6 +22,10 @@ const routes = [
path: '/stress',
component: Stress,
},
{
path: '/custom-node',
component: CustomNode,
},
];
const Header = withRouter(({ history, location }) => {