forked from OpenNeo/impress-2020
Even in production, scrolling is a bit slow! This will preload the pagination one click ahead. There is a bit of a perf downside, in that if you click through the pages too fast, you'll trigger _extra_ requests. I think that's a net win though, and I'm not gonna try to get cleverer than this right now. |
||
|---|---|---|
| .. | ||
| app | ||
| server | ||
| shared | ||
| index.js | ||
| react-app-env.d.ts | ||