Skip to content
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

Feature: renderToJSON/serialize #106

Open
lxsmnsyc opened this issue Jan 26, 2022 · 0 comments
Open

Feature: renderToJSON/serialize #106

lxsmnsyc opened this issue Jan 26, 2022 · 0 comments

Comments

@lxsmnsyc
Copy link
Collaborator

Add an SSR feature called renderToJSON/serialize that instead of rendering an HTML markup, renders the JSON representation of the markup.

This is a very wild idea. Obviously, the SSR formats right now only support HTML so this feature might only work if the compiler itself is compatible to the runtime. Supposedly, renderToJSONAsync and renderToJSONStream are also similar ideas that can be added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant