adobe / aem-lib

Apache License 2.0
2 stars 7 forks source link

feat: section loader #80

Closed kptdobe closed 3 months ago

kptdobe commented 3 months ago

New loading sequence: section loader approach.

The current "wait for LCP" loading sequence has a major flaw: it waits for the LCP block in the eager phase without unhiding the first section. This happens then in the lazy phase. While in the majority of the cases, this is not an issue, it is a problem when the first section is huge or if the LCP block is not the first one.

This new approach focus on sections instead of first block.

adobe-bot commented 3 months ago

:tada: This PR is included in version 2.4.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: