Best of Astro — 2024

  1. 1
    Article
    Avatar of robinwieruchRobin Wieruch·2y

    React Trends in 2024

    Exciting trends in React for 2024 include Astro with React, new authentication alternatives, tRPC for full-stack React applications, React Server Components and Next.js, TanStack Router for SPA React, Vercel pushing React on the Edge, bundlers for React, React Compiler, Biome, and headless UI libraries for React.

  2. 2
    Article
    Avatar of astro_sourceAstro·2y

    Astro + Volar = 💖

    Astro has migrated its language server to Volar, resulting in code reduction and improved developer experience. Astro is giving a $10,000 grant to the Volar team. The grant will benefit the wider ecosystem as Volar is already used by Vue and MDX.

  3. 3
    Article
    Avatar of communityCommunity Picks·2y

    Start your own (side) business with open-source in mind

    Starting a DevRel advisory business is exciting and straightforward with open-source tools. This guide covers setting up a website using Vercel, the Astro framework, Web3Forms for contact forms, Cal.com for scheduling calls, and Mirotalk for real-time communication. These tools facilitate a quick and efficient online presence, leveraging the benefits of open-source software.

  4. 4
    Article
    Avatar of astro_sourceAstro·2y

    Zero-JavaScript View Transitions

    Astro introduces an update to the View Transitions API that allows for native, app-like page navigation without JavaScript. Chrome 126 and Microsoft Edge 126 support zero-JavaScript view transitions. To enable it, add the @view-transition at-rule to your website's CSS. The 'transition:persist' feature is not yet supported by native cross-document navigation.

  5. 5
    Article
    Avatar of hnHacker News·1y

    Why we switched to Astro (and why it might interest you)

    The post details the reasons and process behind migrating a website from Next.js to Astro. It highlights the benefits, such as simplified architecture and enhanced performance with server-side rendering. The new stack allows instant feedback for content edits and efficient caching strategies, resulting in a faster, more reliable user experience. Future articles will dive into practical aspects of using Astro with DatoCMS.

  6. 6
    Article
    Avatar of communityCommunity Picks·2y

    The Hard Parts of Building an Application, Made Easy with Supabase

    The post discusses the author's experience with the Two Week Build Challenge and how they used Supabase, Remix, and Astro for building their application.

  7. 7
    Article
    Avatar of astro_sourceAstro·2y

    Astro 4.3

    Astro 4.3 is now available! It includes a new experimental i18n feature, improvements to build output, component prop types, Markdown images, and more.

  8. 8
    Article
    Avatar of chromeChrome Developers·2y

    What's new in JavaScript Frameworks (May 2024)

    Highlights of recent happenings in the JavaScript frameworks ecosystem include releases and updates in Angular, Astro, React, Remix, Next.js, Vue, Nuxt, SolidStart, Svelte, and contributions by Chrome Aurora.

  9. 9
    Article
    Avatar of codewithandreaCode with Andrea·2y

    How I Built a Modern Course Platform in 2024

    The author built a modern course platform for Flutter developers, using technologies like Astro, Supabase, TypeScript, and TailwindCSS. They faced challenges with email link authentication. The running costs for the platform are estimated to be $214 per month. The author is offering a 33% discount on their courses.

  10. 10
    Article
    Avatar of communityCommunity Picks·2y

    React SPA in Astro with TanStack Router

    Astro is known for static websites but can support client-side interactivity through its Islands architecture. For more dynamic sections within an Astro site, such as dashboards, you can use a client-rendered SPA with TanStack Router. This guide provides a step-by-step setup for integrating React and TanStack Router with Astro, including configuration and routing setup.

  11. 11
    Article
    Avatar of astro_sourceAstro·2y

    Astro 4.5

    Astro 4.5 is now available! This release improves the developer experience with a new Dev Audit UI that allows developers to automatically identify site performance and accessibility issues during development. Other highlights include improved view transitions, upgraded syntax highlighting with Shiki 1.0, multi-CDN asset prefixing, and experimental features like JSON schemas for data collections and a new script detection algorithm.

  12. 12
    Article
    Avatar of astro_sourceAstro·2y

    Astro 5.0 Beta Release

    Astro 5.0 beta is now available, featuring the stable Astro Content Layer for content management, server islands for mixing static and personalized content, and merged static and hybrid output modes. An `astro:env` module ensures type-safe environment variable management. Upgrade your existing project using the automated CLI tool or manually through your package manager.

  13. 13
    Article
    Avatar of astro_sourceAstro·2y

    Astro 4.15

    Astro 4.15 introduces the stable release of Astro Actions for type-safe backend functions, support for libSQL remotes in Astro DB, a new timeout option for client:idle, and enhanced swap helpers for ViewTransitions customizations. Users can upgrade their existing projects using the CLI tool or manually via their package manager.

  14. 14
    Article
    Avatar of astro_sourceAstro·2y

    Astro 4.13

    Astro 4.13 has been released, providing stabilized experimental features like request rewriting and content collection JSON schemas. Improvements to logging are also included, making performance bottlenecks easier to detect. Users are guided on how to upgrade their existing projects using the new version.

  15. 15
    Article
    Avatar of astro_sourceAstro·2y

    Astro 4.9

    Astro 4.9 is out! This release includes the long-awaited Container API, stabilized experimental features, and more.

  16. 16
    Article
    Avatar of astro_sourceAstro·2y

    The Astro Developer Portal

    Astro has launched the Developer Portal, a platform for theme authors to submit, manage, and promote their themes built for Astro. The old setup was time-consuming and inefficient, but the new solution allows theme creators to upload, update, and manage their themes easily. The Astro team also used Astro Studio and Astro DB to test and improve the system.

  17. 17
    Article
    Avatar of astro_sourceAstro·2y

    Starlight 0.28

    Starlight v0.28, Astro's documentation site builder, introduces advanced localization with i18next, on-demand server-side rendering, tabs that remember user preferences, and persistent sidebar states. The update also simplifies sidebar configuration and enhances documentation with a Markdoc preset. Upgrade via `npx @astrojs/upgrade` and join numerous renowned companies using Starlight.

  18. 18
    Article
    Avatar of communityCommunity Picks·2y

    The Tiny Stack (Astro, SQLite, Litestream)

    Explore the concept of the Tiny Stack, a simple yet powerful stack for building web applications. Learn about Astro, SQLite, and Litestream, the core components of this stack.

  19. 19
    Article
    Avatar of astro_sourceAstro·2y

    Astro 4.14

    Astro 4.14 introduces new features like the experimental Content Layer API and Intellisense support inside content files. The Content Layer API allows fetching content from various sources and aims to improve performance, while Intellisense enhances frontmatter editing in content files. Other updates include deprecating dynamic `prerender` values, a new `injectTypes` integration API, and support for metastrings in code components. Upgrade using `@astrojs/upgrade` or manually through your package manager.

  20. 20
    Article
    Avatar of communityCommunity Picks·2y

    Build a RAG chatbot with Astro, Postgres, and LlamaIndex

    A comprehensive guide to building a RAG chatbot using Astro, Postgres, and LlamaIndex. It covers generating OpenAI API tokens, creating and deploying an Astro app, setting up a serverless Postgres database, and configuring CI/CD with GitHub Actions. Key steps include Dockerizing the app, setting up React for the UI, adding Tailwind CSS, and deploying on Amazon ECS.

  21. 21
    Article
    Avatar of hnHacker News·2y

    From Gatsby gridlock to Astro bliss: my personal site redesign

    A developer shares their experience redesigning their personal website, moving from Gatsby to Astro. Key motivations included creating a dedicated writing space, reducing maintenance, and achieving a more professional design. The post highlights Astro's benefits such as component-based design, simplified data handling, TypeScript support, and easy integrations, while also discussing some challenges faced during the migration such as conditional CSS and component conversion. The redesign led to faster page loads, better site performance, and overall satisfaction with the new framework.

  22. 22
    Article
    Avatar of astro_sourceAstro·2y

    Astro 4.7

    Astro 4.7 release includes improvements to the API for toolbar apps, project update checker, and changes in the TypeScript preset.

  23. 23
    Article
    Avatar of communityCommunity Picks·2y

    Using Strapi CMS with Neon Postgres and Astro to build a blog

    This guide provides a detailed walkthrough on creating a blog using Strapi CMS, a serverless Postgres database powered by Neon, and Astro. It covers setting up the database, configuring Strapi, defining a blog schema, managing API permissions, integrating Tailwind CSS, and creating dynamic blog routes in Astro. The guide also highlights Neon's scale-to-zero feature for efficient resource management.

  24. 24
    Article
    Avatar of astro_sourceAstro·2y

    Astro 4.6

    Astro 4.6 is now available and includes a new manual routing strategy for internationalization, experimental support for CSRF protection, ability to move the dev toolbar, cookies improvements, and deprecated support for older versions of Node.js.

  25. 25
    Article
    Avatar of cassidooCassidy's blog·2y

    I rewrote my blog! And website! They are one!

    The author rewrote their blog and website to combine them into one. They used a new Git repository and Astro to create the new site, and set up redirects to ensure that the old links still work.