Don’t use Astro when most of your interface is interactive and shares client-side state, such as a dashboard, editor, chat app or complex web app behind a login. Astro’s main limitations follow from its design: it renders pages to HTML and treats interactivity as isolated islands, so it has no client-side state layer across the page, no built-in admin UI for writers, and each navigation loads a new page unless you add the client router. For content-first sites those trade-offs barely matter; for app-like products they add friction.
This article lists the cases where Astro is the wrong tool, the cases that look like limitations but aren’t, and what to use instead.
Key Takeaways
- Astro is built for content-driven sites. If 80% or more of a page is interactive, a single-page app framework usually fits better.
- Islands can’t pass functions to each other, so heavily shared client state needs a store and extra wiring.
- There’s no admin dashboard. Teams of non-technical writers need a CMS or a hosted platform.
- Real-time apps (chat, collaborative editing, live feeds) are possible but not where Astro helps.
- Many “limitations” are outdated: Astro does server rendering, forms, sessions and mixed frameworks.
How Astro is designed
Understanding the design makes the limitations predictable. Astro renders every page to HTML, at build time or on the server. Components produce HTML and nothing else unless you mark them with a client:* directive, which turns them into islands that load their own JavaScript and hydrate independently. Our article on Astro islands architecture covers the model in detail.
That design produces fast pages with little JavaScript. It also means the browser holds no single application that owns the page. Each island is its own small app, and the page around them is plain HTML.
Astro limitations that matter
1. App-like interfaces with shared state
Consider a project management board: drag-and-drop columns, a filter bar, a detail panel, a notifications drawer and an activity feed, all reacting to the same data. In a single-page app, these are components in one tree that share state through context or a store.
In Astro, each would be a separate island. Islands can’t pass callbacks through props, because Astro serializes props into HTML and drops functions:
---
// src/pages/board.astro
import Filters from '../components/Filters.jsx';
import Board from '../components/Board.jsx';
---
<!-- onChange is dropped: islands can't share callbacks -->
<Filters client:load onChange={(f) => console.log(f)} />
<Board client:load />
You can make it work with a shared store such as nanostores:
// src/stores/filters.ts
import { atom } from 'nanostores';
export const filters = atom<{ status: string; owner: string }>({
status: 'all',
owner: 'anyone',
});
Both islands import filters and subscribe. That’s fine for two or three islands. For twenty, you’re building a single-page app out of pieces, and the boundaries cost more than they save. At that point, wrap the whole interactive area in one island, or use a framework designed for it.
Better fits: Next.js, Remix/React Router, SvelteKit, Nuxt, or a plain Vite single-page app.
2. Logged-in web apps
Astro can render pages per request, read cookies, handle sessions and run actions. A login area with a few account pages is a reasonable Astro project. A full product behind a login, where most screens are forms, tables and modals updating without page loads, is not where Astro helps. You’ll write most of it in React or Vue inside a large island anyway.
Better fits: a full-stack framework with client-side routing and data loading built in.
3. Teams that need a built-in editor
Astro has no admin screen. Content lives in Markdown files, a CMS, or an API. If several non-technical writers publish every day and nobody will set up and maintain a CMS integration, a platform with a built-in editor will be less friction.
Fixes inside Astro: Git-based editors (Decap CMS, Keystatic) or a headless CMS (Sanity, Storyblok, Contentful) feeding Astro through a content loader. Our headless CMS guide compares them. If nobody will own that setup, use WordPress, Ghost or a hosted site builder instead.
4. Real-time and collaborative features
Live chat, multiplayer cursors, collaborative documents and live trading screens all keep a connection open and update the UI constantly. Astro can host the page and an island can open a WebSocket, but Astro itself contributes nothing to the hard part. You’ll choose and wire the real-time stack yourself.
Better fits: whatever framework your real-time library supports best, often a single-page app paired with a dedicated real-time backend.
5. Very large sites that change constantly, fully static
A static site rebuilds to show new content. For a blog with hundreds of posts, a rebuild takes a minute or two. For a catalog of hundreds of thousands of pages that changes every few minutes, full static rebuilds stop being practical.
Fixes inside Astro: render those routes on demand with an adapter, and use Astro 7’s cache and routeRules options to cache responses. For static builds, the experimental incrementalBuild flag (Astro 7.2) skips unchanged pages, and experimental.collectionStorage (7.1) splits large content stores. These help, but if the whole site is effectively a live database view, a server-first framework is simpler.
6. Teams standardized on another framework
If a team already ships everything in Next.js with shared component libraries, CI templates and deployment conventions, adding Astro for one marketing site has a cost: another build, another set of conventions, and components that may need adapting to work without client-side context. Sometimes that cost is worth it for performance; sometimes it isn’t.
Things that are not Astro limitations anymore
A lot of advice online describes older versions. In Astro 7:
| Claim | Reality |
|---|---|
| “Astro is static only” | output: 'server' or per-route export const prerender = false renders on demand with an adapter |
| “No forms or backend logic” | Actions, API endpoints and middleware are built in |
| “Can’t use React” | React, Vue, Svelte, Solid and Preact components all work, even on one page |
| “Only for blogs” | Marketing sites, docs, portfolios, stores and content-heavy apps all fit |
| “Pages flash on navigation” | <ClientRouter /> from astro:transitions gives client-side navigation with view transitions |
| “No caching for SSR” | Astro 7 adds cache and routeRules |
Our Astro myths article goes through each of these with code.
A quick test: is Astro right for this project?
Answer these about the main pages of your site:
- Is most of each page content (text, images, lists) rather than controls?
- Would the page still be useful with JavaScript disabled?
- Do interactive parts work mostly on their own, without sharing live state?
- Is SEO or page speed a priority?
- Will content be edited by developers, or through a CMS someone will set up?
Mostly yes: Astro is a strong fit. Mostly no: pick an app framework. Mixed: split the project. A common pattern is an Astro marketing site and docs at the main domain, and the product app on app.example.com in Next.js, SvelteKit or similar.
Astro compared with app-first frameworks
| Astro | Next.js | SvelteKit | |
|---|---|---|---|
| Default JavaScript | None | React runtime on every page | Svelte runtime on every page |
| Best for | Content-first sites | React apps and hybrid sites | Svelte apps and hybrid sites |
| Shared client state | Through stores between islands | Native, one component tree | Native, one component tree |
| UI frameworks | Any, mixed | React | Svelte |
| Static hosting | Default output | Supported with output: 'export' |
Supported with an adapter |
Choose Astro if the site is about content and speed. Choose Next.js or SvelteKit if the site is about interaction and the content is secondary. Our Astro vs Next.js comparison and which rendering mode guide help with the borderline cases.
When Astro is the right call
For blogs, documentation, portfolios, agency and business sites, landing pages and most marketing sites, the limitations above don’t apply, and Astro’s defaults give you fast, low-maintenance pages. That’s the category Komal themes cover: content-first Astro 7 sites you can browse by category. For the official overview of where Astro fits, see Why Astro in the Astro docs.
FAQ
What are the main limitations of Astro?
Astro has no shared client-side state across the page, because interactivity is split into independent islands. It also has no built-in admin editor, and fully static builds need a rebuild to show new content. These matter for app-like products and matter little for content sites.
Is Astro good for web applications?
For small apps or a few logged-in pages, yes, using server rendering, actions and sessions. For large interactive applications where most screens are dynamic and share state, a framework like Next.js, SvelteKit or Remix is usually a better fit.
Can Astro handle dynamic content?
Yes. Set export const prerender = false on a route, or output: 'server' for the whole site, and install an adapter. Those pages render per request with access to cookies, headers and databases.
Is Astro slower to develop with than Next.js?
For content sites, it’s often faster because there’s less to configure and no client state to manage. For interactive apps, it’s often slower because you work around island boundaries that Next.js doesn’t have.
Should I use Astro for an e-commerce site?
For small and mid-sized stores with a hosted checkout (Shopify Buy Button, Snipcart, Stripe Checkout), Astro works well because product pages are mostly content. For large stores with complex carts, accounts and personalization on every page, a commerce platform or app framework is usually less work.