Skip to content

[Components Lifecycle] Fix PilotLifecycleView instance change on Android#30

Merged
npresseault merged 1 commit into
mainfrom
fix-lifecycle
Oct 23, 2025
Merged

[Components Lifecycle] Fix PilotLifecycleView instance change on Android#30
npresseault merged 1 commit into
mainfrom
fix-lifecycle

Conversation

@npresseault

@npresseault npresseault commented Oct 23, 2025

Copy link
Copy Markdown
Contributor

Fix onAppear not being called on new appearanceLifecycle instances.

With this change DisposableEffect side effect is re-invoked when instance changes. Then when we set the new observer, the current state is will be emitted and it will call onAppear.

DisposableEffect side effect is re-invoked when instance changes and when we set the new observer, the current state is will be received and it will call either onAppear.
@npresseault npresseault merged commit 849b715 into main Oct 23, 2025
1 check passed
@npresseault npresseault deleted the fix-lifecycle branch October 23, 2025 21:39
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