Replies: 1 comment 3 replies
-
Thank you for raising this, I will check this and the other locations where we need to fix the same issue. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, i have a question regarding PR #3808 . Since that PR is closed i cannot comment there so i created this discussion instead.
The fix is only made for ReactiveInjectableComponentBase. What about ReactiveComponentBase and ReactiveLayoutComponentBase? I think the problem exists in them as well.
Right now if i have a component inherited from ReactiveComponentBase i have to put at least an empty WhenActivated call in the component ensuring that the VM's WhenActivated will be called:
If i don't do this the VM's WhenActivated will never be called by the framework.
The other thing, wouldn't be better to put the if statement with the subscriptions before the _initSubject.OnNext(Unit.Default); line?
So instead of this:
like this:
Beta Was this translation helpful? Give feedback.
All reactions