/
githubmirror
/
tldraw
Обзор
Документация
Войти
/
githubmirror
/
tldraw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
apps/examples/src/index.html
24 строки
860 B
Steve Ruiz
chore(examples): disable console.createTask to declutter Performance flame chart (#8312)
05 июн 2026, 14:23
Не верифицирован
05 июн 2026, 14:23
52bf73b
Код
Авторство
О чём код?
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8" /> <link rel="icon" type="image/svg+xml" href="./icons/tldraw.svg" /> <link rel="apple-touch-icon" sizes="180x180" href="./icons/apple-touch-icon.png" /> <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" /> <title>tldraw examples</title> <link rel="stylesheet" href="./styles.css" /> </head> <body> <div id="root"></div> <script> // Disable React's console.createTask instrumentation — it wraps every // component render in a "Run console task" that clutters the Performance // flame chart without adding useful information. console.createTask = () => { // noop } </script> <script type="module" src="./index.tsx"></script> <noscript>You need to enable JavaScript to run tldraw. ✌️</noscript> </body> </html>