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

Add new option to output rehydratable markup from @glimmer/ssr #312

Merged
merged 1 commit into from
Oct 8, 2020

Conversation

chiragpat
Copy link
Contributor

Why
In order to support rehydration in glimmerjs we need to produce markup that contains the block stacks so that the rehydrate builder on the client can initialize correctly.

How

  • Add a new top level render option rehydrate
  • Add new option to getTemplateIterator to accept a custom builderFactory
  • Swap to use the serializeBuilder if the rehydrate option is set

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

Successfully merging this pull request may close these issues.

None yet

2 participants