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

fix: include component-globals and await-reorderer tags inn ssr code #37

Merged
merged 1 commit into from
Mar 19, 2020

Conversation

DylanPiercey
Copy link
Contributor

Description

Currently the <component-globals> (handles serializing $global data in input) and the <await-reorderer> (handles out of order flushing) are not included in the generated asset template for the server side bundle when using the plugin. These tags are automatically pulled in if a <body> tag is present, however now they will always be pulled in automatically.

This is particularly useful if you are using Marko to render snippets of html from the server.

Checklist:

  • I have updated/added documentation affected by my changes.
  • I have added tests to cover my changes.

@DylanPiercey DylanPiercey merged commit 63f0ce5 into master Mar 19, 2020
@DylanPiercey DylanPiercey deleted the include-component-globals-and-await-reorderer branch March 19, 2020 14:49
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.

1 participant