Skip to content

Conversation

@bartoszherba
Copy link
Collaborator

@bartoszherba bartoszherba commented May 11, 2022

Description

make related and upsell products lazy loaded when visible

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@bartoszherba bartoszherba force-pushed the M2-517-make-related-upsell-products-lazy-loaded-when-visible branch from 5f89fdd to 5a9a1f4 Compare May 11, 2022 12:05
Copy link
Contributor

@sethidden sethidden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left optional comment, lgtm

<LazyHydrate
when-visible
>
<LoadWhenVisible>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if it's worth being this granular. Would putting related and upsell in one LoadWhenVisible makes sense? That way it'd be "if you move down to the additional sections, the additional sections are loaded)

@bartoszherba bartoszherba merged commit e66aaec into develop May 12, 2022
@bartoszherba bartoszherba deleted the M2-517-make-related-upsell-products-lazy-loaded-when-visible branch May 12, 2022 05:52
@Frodigo Frodigo added this to the 1.0.0-rc.8 milestone May 23, 2022
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.

4 participants