https://github.com/sarink/urql-perf
https://github.com/sarink/urql-perf
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sarink/urql-perf
- Owner: sarink
- Created: 2022-07-22T23:33:03.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-30T15:24:52.000Z (over 2 years ago)
- Last Synced: 2025-01-10T03:25:17.276Z (5 months ago)
- Language: TypeScript
- Size: 356 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
```
nvm install
npm install
npm run dev
```http://localhost:3000
Simulating a "mid-tier mobile" (a 4x CPU slowdown) it takes ~200ms to switch between the Dashboard and Plan pages.
It also always renders twice (for some reason) and the react profiler reports that the hook (`useQuery`) has changed.
To run in production mode:
```
npm run prod
```