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: allow slot reorder after first chunk #26

Merged
merged 4 commits into from
Sep 28, 2023

Conversation

bill-min
Copy link
Contributor

Description

Allows ebay-ads-slot tag to be rendered in-order before first chunk then convert to out-of-order afterwards. In the case that the loading shimmer is sent from the stream (as first chunk), we want the slot to hold the order until shimmer is ready. If the tag is out-of-order, there is always a content shift even if the first chunk is cached and streamed at very beginning.

Motivation and Context

Screenshots (if appropriate):

Checklist:

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

@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (0310d4e) 95.70% compared to head (4afedb3) 95.70%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #26   +/-   ##
=======================================
  Coverage   95.70%   95.70%           
=======================================
  Files           6        6           
  Lines         163      163           
  Branches       27       27           
=======================================
  Hits          156      156           
  Misses          2        2           
  Partials        5        5           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@DylanPiercey DylanPiercey merged commit 4473bc8 into marko-js:main Sep 28, 2023
@github-actions
Copy link

🎉 This PR is included in version 1.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants