This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import * as React from 'react'; | |
| import * as ReactDOM from 'react-dom'; | |
| import { ThemeProvider, createTheme } from '@mui/material/styles'; | |
| import CssBaseline from '@mui/material/CssBaseline'; | |
| const darkTheme = createTheme({ | |
| palette: { | |
| mode: 'dark', | |
| background: { | |
| default: '#262626', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import * as React from 'react'; | |
| import Paper from '@mui/material/Paper'; | |
| import Box from '@mui/material/Box'; | |
| import { ChartContainer } from '@mui/x-charts/ChartContainer'; | |
| import { BarPlot } from '@mui/x-charts/BarChart'; | |
| import { LinePlot, MarkPlot } from '@mui/x-charts/LineChart'; | |
| import { ChartsXAxis } from '@mui/x-charts/ChartsXAxis'; | |
| const lineData: number[] = []; | |
| const barData: number[] = []; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use client'; | |
| import * as React from 'react'; | |
| import * as ReactDOM from 'react-dom'; | |
| import { Menu } from '@base-ui-components/react/menu'; | |
| import { Tooltip } from '@base-ui-components/react/tooltip'; | |
| import menuDemoStyles from './menu-styles.module.css'; | |
| import tooltipDemoStyles from './tooltip-styles.module.css'; | |
| import styles from './perf.module.css'; | |
| type RowData = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const items = Array.from({ length: 10_000 }, (_, i) => ({ valule: i + 1 })); | |
| const BATCH_SIZE = 500; | |
| async function incrementalFilter( | |
| items: any[], | |
| predicate: (item: any) => boolean, | |
| batchSize: number, | |
| onResult: (result: { items: any[]; filtered: number; done: boolean }) => void, | |
| ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use client'; | |
| import { useIsoLayoutEffect } from './useIsoLayoutEffect'; | |
| import { useRefWithInit } from './useRefWithInit'; | |
| export function usePreviousValue<T>(value: T) { | |
| const instance = useRefWithInit(createPreviousValue, value).current; | |
| instance.next = value; | |
| instance.dependencies[0] = value; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| node:internal/modules/customization_hooks:276 | |
| throw new ERR_INVALID_RETURN_PROPERTY_VALUE( | |
| ^ | |
| TypeError [ERR_INVALID_RETURN_PROPERTY_VALUE]: Expected a string, an ArrayBuffer, or a TypedArray to be returned for the "source" from the "load" hook but got undefined. | |
| at validateLoad (node:internal/modules/customization_hooks:276:11) | |
| at nextStep (node:internal/modules/customization_hooks:190:14) | |
| at load (file:///project/workspace/tests/node-ignore-css.mjs:8:12) | |
| at nextStep (node:internal/modules/customization_hooks:185:26) | |
| at loadWithHooks (node:internal/modules/customization_hooks:348:18) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ yarn -v | |
| 4.9.2 | |
| $ node -v | |
| v22.18.0 | |
| $ npm -v | |
| 10.9.3 | |
| $ yarn add @mui/x-data-grid | |
| ➤ YN0000: · Yarn 4.9.2 | |
| ➤ YN0000: ┌ Resolution step | |
| ➤ YN0085: │ + @mui/x-data-grid@npm:8.9.2, @babel/runtime@npm:7.28.2, @mui/types@npm:7.4.5, @mui/utils@npm:7.3.0, @mui/x-internals@npm:8.9.2, @mui/x-virtualizer@npm:0.1.0, @types/prop-types@npm:15.7.15, clsx@npm:2.1.1, and 8 more. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import * as React from 'react'; | |
| import { ThemeProvider, createTheme } from '@mui/material/styles'; | |
| import { NoSsr, CssBaseline } from '@mui/material'; | |
| import '@mui/x-data-grid/themeAugmentation'; | |
| const theme = createTheme({ | |
| palette: { | |
| mode: 'dark', | |
| background: { | |
| default: '#262626', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| warning: [email protected]: ToolExecError: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/home/romgrk/.local/share/nvim/lazy/vim-clap/target/release/build/onig_sys-e45f8b494a440f8d/out" "-I" "oniguruma/src" "-DHAVE_UNISTD_H=1" "-DHAVE_SYS_TYPES_H=1" "-DHAVE_SYS_TIME_H=1" "-o" "/home/romgrk/.local/share/nvim/lazy/vim-clap/target/release/build/onig_sys-e45f8b494a440f8d/out/c77b18e714869709-st.o" "-c" "oniguruma/src/st.c" with args cc did not execute successfully (status code exit status: 1). | |
| error: failed to run custom build command for `onig_sys v69.8.1` | |
| Caused by: | |
| process didn't exit successfully: `/home/romgrk/.local/share/nvim/lazy/vim-clap/target/release/build/onig_sys-5a942f407f355d7e/build-script-build` (exit status: 1) | |
| --- stdout | |
| cargo:rerun-if-env-changed=RUSTONIG_DYNAMIC_LIBONIG | |
| cargo:rerun-if-env-changed=RUSTONIG_STATIC_LIBONIG | |
| cargo:rerun-if-env-changed=RUSTONIG_SYSTEM_LIBONIG | |
| OUT_DIR = Some(/home/romgrk/.local/share/nvim/lazy/vim-clap/target/release/buil |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use client'; | |
| import * as React from 'react'; | |
| import { Flex } from '@joy-ui/react'; | |
| import { useRenderElement } from '@base-ui-components/react'; | |
| import './page.css'; | |
| import './perf-test.css' |
NewerOlder