Closed kptdobe closed 3 months ago
@davidnuescheler and I came to the conclusion we do not need a custom event, at least for now. The only consumer would be our boilerplate, for which we know exactly when to call sample.enhance()
. No need to create a custom event that we'll have to maintain for a single usage.
I'll change the implementation.
:tada: This PR is included in version 2.5.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Use rum v2 and optimise rum loading sequence using manual enhance method - depends on https://github.com/adobe/helix-rum-js/pull/175
This introduces a new custom event:
hlx:section:loaded
which fires when a section is loaded.When first section is loaded, we "enhance" the rum sampling.