Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants