Astro Js is a great framework for building completely static sites with out of the box SEO pros. However its MPA (Multi page application) approach might seem odd for few scenarios. To give your Astro application a SPA behaviour is possible and is super easy.
Introducing Turbo by Hotwired.
Here's a great blog to summarise the whole approach.
https://www.maxiferreira.com/blog/astro-turbo-persistent-islands/
Want to give your Astro app a SPA behaviour? Here's a quick boilerplate repo.
https://github.com/paragchirde/Astro-SPA
Top comments (0)