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

feat: JSX serialization #291

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

feat: JSX serialization #291

wants to merge 7 commits into from

Conversation

lxsmnsyc
Copy link
Collaborator

@lxsmnsyc lxsmnsyc commented Nov 15, 2023

This adds JSX serialization capability. The change required the introduction of the SSRNode class which intends to replace the old { t: string } so that seroval understands the value more.

TODO: this PR is still missing the client-side process.

@lxsmnsyc
Copy link
Collaborator Author

lxsmnsyc commented Nov 15, 2023

Tricky scenario: what happens if <Comp /> returns anything but SSRNode? maybe we should add a new SSRUnresolved?

@lxsmnsyc
Copy link
Collaborator Author

Removed the JSX serialization for now, we currently emit undefined for JSX.

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

Successfully merging this pull request may close these issues.

None yet

2 participants