Category: Uncategorized
-
Next.js + React Query: Insanely fast nearly-dynamic sites
Stale-while-revalidate has some exciting implications for the future of web performance: by serving stale data instead of loading spinners, the user experience can be smoother and snappier. It also opens up the possibility for pages with dynamic content to be built to static files at intervals without the need to be server-side rendered on demand, […]
-
How to keep Tailwind DRY
There’s many complaints I see online about Tailwind: it’s WET, not DRY, it’s the same as inline styles, you can’t make global changes, and it’s hard to read. I understand how this may seem to be the case when you first start working with Tailwind. The thing to bear in mind is Tailwind is nothing […]
-
React Query with Next.js ISR: Static websites with dynamic content
What is stale-while-revalidate? If there’s any one technology I’ll be keeping an eye on in the next few years, it’s stale-while-revalidate: The ability to serve queries made in the past (stale) and then re-run those same queries once on the client side (revalidate). I (and many others) believe this new tech has the ability to […]