mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-05-17 17:37:39 +08:00
Reformat 'performance' and 'src' code
This commit is contained in:
@@ -6,15 +6,7 @@ const renderDeepTree = (label, components) => createRenderBenchmark({
|
||||
name: `Deep tree [${label}]`,
|
||||
runs: 20,
|
||||
getElement() {
|
||||
return (
|
||||
<NestedTree
|
||||
breadth={3}
|
||||
components={components}
|
||||
depth={6}
|
||||
id={0}
|
||||
wrap={1}
|
||||
/>
|
||||
);
|
||||
return <NestedTree breadth={3} components={components} depth={6} id={0} wrap={1} />;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user