Skip to content

[Live] Fix 'onUpdated' hook call #1980

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

Merged
merged 1 commit into from
Jul 30, 2024
Merged

[Live] Fix 'onUpdated' hook call #1980

merged 1 commit into from
Jul 30, 2024

Conversation

kempha
Copy link
Contributor

@kempha kempha commented Jul 12, 2024

Q A
Bug fix? yes
New feature? no
Issues Fix #1952
License MIT

All 'onUpdated' handlers should be called after all live props have been initialized.

@carsonbot carsonbot added Bug Bug Fix Status: Needs Review Needs to be reviewed labels Jul 12, 2024
@smnandre
Copy link
Member

Hi @kempha !

Could you rebase / check the conflicts ?

@kempha
Copy link
Contributor Author

kempha commented Jul 28, 2024

Hi, @smnandre!

Fabbot complains about the style of messages in exceptions. I didn't write this code, but I can fix it. Do it?)

@kempha
Copy link
Contributor Author

kempha commented Jul 29, 2024

@smnandre, conflicts fixed 👌

@smnandre
Copy link
Member

Seems good to me ! Thanks!

@carsonbot carsonbot added Status: Reviewed Has been reviewed by a maintainer and removed Status: Needs Review Needs to be reviewed labels Jul 29, 2024
@smnandre smnandre requested a review from kbond July 30, 2024 19:59
@carsonbot carsonbot added Status: Needs Review Needs to be reviewed and removed Status: Reviewed Has been reviewed by a maintainer labels Jul 30, 2024
@carsonbot carsonbot added Status: Reviewed Has been reviewed by a maintainer and removed Status: Needs Review Needs to be reviewed labels Jul 30, 2024
Copy link
Member

@Kocal Kocal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kbond
Copy link
Member

kbond commented Jul 30, 2024

This is great, thanks Ilya!

@kbond kbond merged commit 03a85b5 into symfony:2.x Jul 30, 2024
34 of 35 checks passed
@kempha kempha deleted the fix/1952 branch July 31, 2024 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug Fix Status: Reviewed Has been reviewed by a maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Live Component] Typed property must not be accessed before initialization
5 participants