- Astro Weekly
- Posts
- Astro Weekly #52
Astro Weekly #52
Astro 4.16 released, support for concurrent builds inside Astro, build a blog post preview feature with Strapi's Draft and Publish system
Hello, Astronauts.
This week, we’ve got the details on the latest Astro release which includes support for concurrent builds, how to build a blog post preview feature using Strapi’s Draft and Publish system, plus a guide on implementing a view counter with Astro Server Islands and Astro Actions.
Buckle up, it’s time for another week in Astro.
What’s new with Astro 🗞️
Astro 4.16
Astro 4.16 released ⚡️
Astro 4.16 introduces a new build.concurrency option for controlling parallel page builds, although Astro urges caution when using this new feature.
It’s advisable to keep the default setting unless you’ve tried other optimization techniques, such as caching or task batching. Increasing this value can lead to slower performance due to memory constraints and the single-threaded nature of JavaScript.
For full details on everything shipping in Astro 4.16, check out the release notes.
Astro Boosters 🚀
The fastest way to build AI apps
Writer Framework: build Python apps with drag-and-drop UI
API and SDKs to integrate into your codebase
Intuitive no-code tools for business users
Astro Community 🧑🚀
Preview like a pro
Build a blog post preview with Strapi and Astro
Looking to enhance your blog workflow? Check out this tutorial on building a blog post preview feature using Strapi’s Draft and Publish system alongside Astro.
Learn how to preview unpublished content with ease, combining Strapi’s powerful headless CMS and Astro’s blazing-fast static site generation.
Count on Astro
Build a view counter with Astro Server Islands and Actions ➕
Thomas Ledoux explains how to use Astro’s Server Islands and Actions to create a view counter for blog posts.
Thomas details implementing the view counter by tracking page views, validating inputs, and using server-side code efficiently, showcasing the advantages of type-safety and simplification of complex setups with Astro’s new features.
What else I’ve been reading this week 🤓
Check out these great posts from the Astro Community ↓
If you have something awesome you’d like to share with the Astro community, you can reach me at [email protected] or via DM on X
Astro on X 💫
What’s happening on Twitter X this week…
new @astrodotbuild login is wild
— Nathan Lawson (@nathanlawsn)
2:13 PM • Oct 10, 2024
Direct link for web version:
https://x.com/nathanlawsn/status/1844380690252771575
Astro Showcase 🤩
Check out these impressive projects built with Astro!
Would you like your work to be featured in our Astro Showcase? Get in touch at [email protected] or DM me on X
That’s a wrap for this week inside the Astroverse.
Got something you’d like to share in Astro Weekly? Feel free to reach out to [email protected] or via DM on X.
Stay safe out there, Astronauts!
– Nathan 🧑🚀