4 ms·
Definitely considering switching over my blog to Astro since I write my posts in MDX and using this plugin to avoid doing this work on the client at all (curren
by nullpt_rs 3y ago
Definitely considering switching over my blog to Astro since I write my posts in MDX and using this plugin to avoid doing this work on the client at all (currently use highlight.js and Next).
Lovely work by my friend Haze :)
- l5870uoo9y 3y agoNextJS does however offer an experimental Rust implementation for parsing MDX which makes it a lot faster and less buggy to use than setting it yourself with various Rehype and Remark plugins. Using Rust parser with Bright[1] (if you don't need other plugins like table of contents or Github Flavoured Markdown) is a potent setup. [1]: https://bright.codehike.org/ https://bright.codehike.org/
- baby 3y agoNever heard of Astro[1] until today. I was looking for something better than Hugo and ended up using Nuxt content. How is this better than nuxt content :D ? [1]: https://astro.build/ https://astro.build/
- hazebooth 3y agoI haven't used 'Next Content', but one big difference is that Astro is framework agnostic. I'm not a huge web dev so I wouldn't know how different these frameworks are, but not being locked in/being able to try another framework is cool
- baby 3y agoIt looks like it's another framework to me. The basic example looks exactly like Nuxt to me as well! (component, pages, and layout folder!) To answer my previous question, they have a page talking about the similarities and differences here: https://docs.astro.build/en/guides/migrate-to-astro/from-nuxtjs/#key-differences-between-nuxt-and-astro https://docs.astro.build/en/guides/migrate-to-astro/from-nux... They look really really similar to me (Nuxt content and Astro)
- eyelidlessness 3y agoAstro is akin to other “meta-frameworks” with SSR/SSG like Next/Nuxt/etc, but it’s client-framework agnostic so its meta-ness is too. What primarily sets it apart is that it’s designed to ship just HTML/CSS by default, with any client side JS being opt-in where a client component is invoked (termed “islands”), and those components being authored in any client component library of your choosing (if an adapter for it exists, and many do). Or even vanilla JS, but then Astro is more akin to Jekyll or other similar SSGs.
- contravariant 3y agoTrue to their word the page loads fine without any javascript. The HTML is even somewhat readable if you ignore the embedded styling. Though this blog is a lot better in that regard.
- OJFord 3y agoHaven't heard of it before either, but their own homepage (which I assume is dogfooding) has unnatural feeling (vertical) scroll-jacking, and small amount of horizontal scroll due to incorrect width. (Mobile, Firefox, Android)