top | item 44256250

(no title)

woutr_be | 8 months ago

I moved away from Next.js, and switched to Astro. Originally I just wanted to go back to basics, but didn't want to bother with having to set up all my routes, templating, serving static assets, build tasks. Astro just handles all that, and it's SSR by default.

I also feel that Astro uses React/Vue as it was intended, as an interactive layer on top of HTML. It also made me realize how little I needed JS frameworks to begin with.

Next just started to feel like to much magic, the server actions felt weird, and just lots of things that required the "NextJS way".

discuss

order

dimitrisnl|8 months ago

I tried various astro sites, and as a user, a few things keep bugging me. - Visit their docs https://docs.astro.build/en/basics/astro-pages/ - Click `Routes` in the navigation

Now: 1. There's a flicker in the content where the sidebar moves on the left 2. The title displays `docs.astro.build` for a split second before it says "Routing | Docs"

Especially the second is quite annoying. I see it in every Astro site.

woutr_be|8 months ago

That seems to be mostly because of the way they've implemented their docs. It's definitely not something I have with my own sites.

The flicker seems to be because the collapsible nav items are done on the client, and closed by default.

I'm not sure where the title issues are coming from.