We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
reproduction:
FastRender.onPageLoad(async sink => { sink.appendToBody('<p>test</p>'); })
will result in [object Object]<p>test</p> instead of <script type="text/inject-data">%7B%22fast-render-data....><p>test</p>
[object Object]<p>test</p>
<script type="text/inject-data">%7B%22fast-render-data....><p>test</p>
The problem is probably in inject-data
The text was updated successfully, but these errors were encountered:
workaround:
import { InjectData } from 'meteor/staringatlights:inject-data'; InjectData.disableInjection = true; FastRender.onPageLoad(async sink => { ... const payload = `<script type="text/inject-data">${InjectData.encode( sink.request.headers._injectPayload )}</script>`;
Sorry, something went wrong.
No branches or pull requests
reproduction:
will result in
[object Object]<p>test</p>
instead of<script type="text/inject-data">%7B%22fast-render-data....><p>test</p>
The problem is probably in inject-data
The text was updated successfully, but these errors were encountered: