mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-03 22:15:07 +08:00
Together with #7119, input handling is 3x faster. Achieved by: - deferring all UI updates to when the browser is ready and debouncing ui calls. - using vanilla js where needed - caching dom elements - disabling expensive checks if the timer is slow - switching to a timer that uses RAF instead of setTimeout - moving some code around This should make the site smother on slower devices and fix lag spikes causing weird test data. |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| docker | ||
| scripts | ||
| src | ||
| static | ||
| vite-plugins | ||
| .eslintrc.cjs | ||
| .firebaserc_example | ||
| .oxlintrc.json | ||
| firebase.json | ||
| package.json | ||
| tsconfig.json | ||
| vite.config.dev.js | ||
| vite.config.js | ||
| vite.config.prod.js | ||
| vitest.config.ts | ||