adobe / aem-lib

Apache License 2.0
2 stars 7 forks source link

feat: migration to rum v2 #76

Closed kptdobe closed 3 months ago

kptdobe commented 4 months ago

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.

kptdobe commented 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.

adobe-bot commented 3 months ago

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

The release is available on:

Your semantic-release bot :package::rocket: