Comments (1)
I'm not really sure why you get the error, but if you add the renderer manually, it works:
import reactContainerRenderer from "@astrojs/react/server.js";
const container = await AstroContainer.create({ renderers });
container.addServerRenderer({renderer: reactContainerRenderer });
from astro.
Related Issues (20)
- Custom lit converter not being called
- `astro check` checks `dist` HOT 1
- Cursor Flickers Between Pointer and Arrow During Route Transitions with `astro:transitions`
- Astro.slots.render() with arguments does not work with Astro component HOT 3
- Astro actions cookies broken, too large sometimes HOT 2
- import.meta.env.MODE resolved to "development" for production builds on build stage HOT 3
- Astro actions not validate fields without client side HOT 1
- Error building Astro project with 30k MDX files HOT 2
- Astro devToolbar throws "Uncaught TypeError: Illegal constructor" HOT 1
- i18n and rewrites do not output the right files HOT 3
- Build doesn't fail even though there are unhandled exceptions
- [Actions] Zod object.passthrough does not allow extra input keys/values
- Dynamic attribute isn't recognized by Tailwind unless there's at least one exact concrete implementation HOT 1
- New build error - Astro 4.13.4 HOT 8
- Dynamic import and rendering of Framework component throws Could not render `ComponentName`. No matching import has been found for `ComponentName` HOT 3
- Server Islands does not seem to work with basepath HOT 6
- MDX with frontmatter reports errors on wrong line
- Astro `4.14.0` build error with Cloudflare adapter HOT 2
- experimental.contentIntellisense fails to generate JSON schemas with "Asynchronous transform" error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from astro.