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

fix(android): support invalidate alongside deprecated onCatalystInstanceDestroy #1098

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

mikehardy
Copy link
Collaborator

invalidate is the new way to have a hook called when react-native instances are going away, but onCatalystInstanceDestroy is still required for compatibility with older react-native versions

…nceDestroy

invalidate is the new way to have a hook called when react-native instances are going away, but onCatalystInstanceDestroy is still required for compatibility with older react-native versions
@mikehardy mikehardy added the pending-merge Waiting on CI or question responses to merge, but otherwise ready label Sep 13, 2024
Copy link

codecov bot commented Sep 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.08%. Comparing base (616fa32) to head (0349ba5).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1098   +/-   ##
=======================================
  Coverage   77.08%   77.08%           
=======================================
  Files          32       32           
  Lines        1727     1727           
  Branches      579      556   -23     
=======================================
  Hits         1331     1331           
- Misses        343      395   +52     
+ Partials       53        1   -52     

@mikehardy mikehardy merged commit 0eea8f5 into main Sep 13, 2024
11 checks passed
@mikehardy mikehardy deleted the rn74-compat-invalidate branch September 13, 2024 19:57
@mikehardy mikehardy removed the pending-merge Waiting on CI or question responses to merge, but otherwise ready label Sep 13, 2024
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.

1 participant