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

[LiveComponent] Add priority to PreReRender hook #1068

Merged
merged 1 commit into from
Aug 24, 2023

Conversation

sneakyvv
Copy link
Contributor

Q A
Bug fix? no
New feature? yes
Tickets
License MIT

Analogue with Pre- & PostMount hooks in AsTwigComponent, if you have multiple PreReRender methods, some may have to be run first.

analogue with Pre- & PostMount hooks in AsTwigComponent
@weaverryan
Copy link
Member

Thanks Bart!

@weaverryan weaverryan merged commit 1df584a into symfony:2.x Aug 24, 2023
34 of 38 checks passed
@sneakyvv sneakyvv deleted the priority branch August 25, 2023 15:39
weaverryan added a commit that referenced this pull request Aug 29, 2023
…ate hooks (sneakyvv)

This PR was merged into the 2.x branch.

Discussion
----------

[LiveComponent] Add priority to PreDehydrate & PostHydrate hooks

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| Tickets       |
| License       | MIT

As a follow-up of #1068, I have also added the option to prioritize PreDehydrate & PostHydrate hooks.

Commits
-------

82a9e17 [LiveComponent] Add priority to PreDehydrate & PostHydrate hooks
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.

2 participants