diff --git a/src/components/page-react-timings/App.tsx b/src/components/page-react-timings/App.tsx index 59add50..0b8a5b5 100644 --- a/src/components/page-react-timings/App.tsx +++ b/src/components/page-react-timings/App.tsx @@ -349,10 +349,16 @@ const examples = { function: ExampleWithFunction, }; +function resetConsole() { + console.clear(); + i = 65; +} + export default function App() { const [example, setExample] = React.useState( null ); + const [, forRerender] = React.useState({}); const Example: (() => JSX.Element) | undefined = examples[example!]; const [withTimings, setTiming] = React.useState(false); @@ -369,8 +375,7 @@ export default function App() { + {Object.keys(examples).map((example) => (