this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 20 lines 880 B view raw view rendered
1## No prefetching (baseline) 2 3This is the baseline approach — no prefetching whatsoever. Every page navigation triggers a fresh network request, and the user sees loading skeletons while data is fetched on demand. 4 5### How it works 6 71. The user navigates to the page 82. React Query fires the fetch request from the component 93. A loading skeleton renders while the query resolves 104. Data arrives and the table renders with results 11 12### Trade-offs 13 14- **Latency**: Every navigation incurs a full server round-trip 15- **UX**: Loading skeletons are visible on every page visit 16- **Simplicity**: The implementation is the easiest to understand and maintain 17 18### When to use 19 20This pattern works for low-traffic pages, internal tools, or anywhere the performance overhead of a round-trip is acceptable. It is the simplest possible starting point before adding any prefetching strategy.