Re:Astro 2.0
by satvikpendem on Tuesday January 24, 2023 @01:37PM
(#34507939)
Astro is nice but it misses the UX of instant page transitions via client side routing, so I switched back to NextJS.
[ Parent
| on HN ]
Re:Astro 2.0
by verzeichnis on Tuesday January 24, 2023 @02:07PM
(#34508456)
Maybe I am not understanding completely what you are missing, but there is an SPA integration that gives you instant navigation. It also features pre-fetching, so it’s not limited to already visited pages.
Re:Astro 2.0
by satvikpendem on Tuesday January 24, 2023 @02:13PM
(#34508570)
Then what's the point? With NextJS I can have SSR but with client side navigation hydration. It's simply a better solution for that use case than an almost year old random library for Astro. Astro is good for traditional MPAs that don't need much interaction.
Re:Astro 2.0
by verzeichnis on Tuesday January 24, 2023 @02:34PM
(#34508946)
Sure, I wasn’t saying Astro is for every use case. Like, no tool ever is.
Re:Astro 2.0
by satvikpendem on Tuesday January 24, 2023 @02:37PM
(#34508999)
Indeed, hence why I said I moved back to NextJS for my use case, personally speaking.
You mean it misses the UX of instantly interrupting you with random flashes of spinners and skeleton elements.
Re:Astro 2.0
by satvikpendem on Tuesday January 24, 2023 @03:34PM
(#34509908)
No, I don't mean that, actually.