|
|
|
|
|
by danabrams
1041 days ago
|
|
You wouldn’t use Astro with NextJS, but you absolutely would with react. Astro is an SSR more tuned to generate static sites than SSR with hydration. It uses the islands architecture instead of full page re-hydration. So if you’re generating a static site with a few react components sprinkled in, it’s a good thing to use. Because of the islands architecture, you can also mix and match component libraries. So one component can be react, one can be vue, one can be svelte, etc. Next and remix are both less focused on SSG than Astro. A lot of people are making very content driven sites using react or Next—sites that aren’t really or shouldn’t be SPAs—and this is a great tool for content driven sites that don’t benefit from SPA-level interactivity (which is probably most sites using SPA frameworks) |
|
The islands architecture is interesting but in practice I doubt I'd swap between multiple component libraries.