Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

ChrisPulman
Copy link
Member

What kind of change does this PR introduce?

Bug Fix for #4068

What is the current behavior?

#4068

What is the new behavior?

Consolidated and streamlined the logic for subscribing to ViewModel changes and property changes in ReactiveComponentBase, ReactiveInjectableComponentBase, and ReactiveLayoutComponentBase. This improves code readability and consistency across the components by using a shared pattern for handling ViewModel and property change notifications.

Closes #4068

What might this PR break?

None expected

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Other information:

Consolidated and streamlined the logic for subscribing to ViewModel changes and property changes in ReactiveComponentBase, ReactiveInjectableComponentBase, and ReactiveLayoutComponentBase. This improves code readability and consistency across the components by using a shared pattern for handling ViewModel and property change notifications.
@ChrisPulman ChrisPulman merged commit ab1cd51 into main Jul 4, 2025
1 check passed
@ChrisPulman ChrisPulman deleted the CP_FixFor4068 branch July 4, 2025 14:11
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Multiple Subscriptions in ReactiveLayoutComponentBase<T> Cause Memory Leaks and Redundant Updates
2 participants