Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow to call decorate sections more than once #4

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

buuhuu
Copy link
Collaborator

@buuhuu buuhuu commented Feb 21, 2024

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.

Copy link

aem-code-sync bot commented Feb 21, 2024

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.

  • Re-run PSI checks
  • Re-sync branch
Commits

@buuhuu buuhuu merged commit df80168 into main Feb 21, 2024
3 of 4 checks passed
omprakashgupta1995 referenced this pull request in WWWPiramalFinanceCOM/piramalfinance Jul 2, 2024
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.

1 participant