I think that SWR is a pattern that is ok only for blog like content. It won't cut it in any UI where you actually need to keep things up to date (and I think that's most of UIs out there).
No no you’re wrong… ISR and and SWR are two different strategies for different use cases . SWR is for optimistic ui so that in a dashboard style app the changes feels instantaneous with support of fallback on error. ISR is somehow similar (and still) but at a greater scale and you only notice it after you reload the page. Know the difference 🙂 In react there is TanstackQuery or Swr and in vue there is UseSWRVue and TanstackQuery but it’s all about SWR
ISR is not the same thing as "stale-while-revalidate" (SWR). Vercel supports SWR since a while ago (search for 'Serverless Pre Rendering Vercel'). You don't have the same set of guarantees in SWR that you have with ISR. The difference on the surface may look marginal, but digging a little deeper, you can see ISR is better.
When you say full-stack web apps, do you mean full-stack JS web apps? Or is there a benefit to other tech stacks as well? Or maybe the analogy was a bit more on-the-nose than I was thinking and this is only for full-stack coffee script apps.
I think that SWR is a pattern that is ok only for blog like content. It won't cut it in any UI where you actually need to keep things up to date (and I think that's most of UIs out there).
have you heard about our lord and savior React Query?
No no you’re wrong… ISR and and SWR are two different strategies for different use cases . SWR is for optimistic ui so that in a dashboard style app the changes feels instantaneous with support of fallback on error. ISR is somehow similar (and still) but at a greater scale and you only notice it after you reload the page. Know the difference 🙂
In react there is TanstackQuery or Swr and in vue there is UseSWRVue and TanstackQuery but it’s all about SWR
ISR is not the same thing as "stale-while-revalidate" (SWR).
Vercel supports SWR since a while ago (search for 'Serverless Pre Rendering Vercel'). You don't have the same set of guarantees in SWR that you have with ISR. The difference on the surface may look marginal, but digging a little deeper, you can see ISR is better.
When you say full-stack web apps, do you mean full-stack JS web apps? Or is there a benefit to other tech stacks as well? Or maybe the analogy was a bit more on-the-nose than I was thinking and this is only for full-stack coffee script apps.
full-stack apps with any framework can benefit from this! you just return the headers! laravel, rails, django, whatever!
@@adamdotdev So I just refactored my entire app into coffee script for nothing? Dang it.
I'm confused :) it sounds like what you described is "AWS just got this Vercel feature" but the title is "Astro just got this Next.js feature"
sir, it's the framework wars, not the cloud provider and reseller wars
I love me some stale coffee
So it's all about coffee?
First!
So basically, he's toxic so React blocked him in Twitter.
He hates React now so he's spreading misinformation about them.
react didn't actually block me and i also don't hate react, i just don't use it anymore 😅