-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suspense
and async
Component Support
#50
Comments
Thanks for your question @shellscape. I have considered implementing a streaming - async - renderer before because JSX is so slow compared to string based template libraries like Handlebars. However, I've not had a reason to invest effort into this. Because this library doesn't handle state I think any |
@i-like-robots we're currently using a mishmashed jsx renderer, with a significant portion based on hyperons. we've integrated It works well with all of our testing and userland use. Hopefully that's helpful for hyperons. |
Thank you @shellscape that's very interesting. And I'm really pleased to hear the code has been useful for more people 👍 |
I've added a very basic shim for the Longer term, I think supporting async components could be really interesting - not many templating languages do this well but it feels like it could be a fairly natural fit for JSX. |
Hey thanks for the package! Any chance of getting
Suspense
andasync
support? For reference,hono
just added experimental support for that concept https://github.com/honojs/hono/blob/next/src/jsx/streaming.ts#L25The text was updated successfully, but these errors were encountered: