To support in-place updates of sections we need to be able to call decorateSections() more than once.
Currently decorateSections() is stateful, meaning it breaks the page as it applies its changes to the DOM twice. With this proposal decorateSections() will only handle sections that have not yet been decorated.
Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.
To support in-place updates of sections we need to be able to call
decorateSections()
more than once.Currently
decorateSections()
is stateful, meaning it breaks the page as it applies its changes to the DOM twice. With this proposaldecorateSections()
will only handle sections that have not yet been decorated.