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

Compatibility with 0.77 for findHostInstance #6883

Merged
merged 2 commits into from
Jan 10, 2025

Conversation

piaskowyk
Copy link
Member

@piaskowyk piaskowyk commented Jan 10, 2025

Summary

The method findHostInstance in react-native@0.77 has been moved from a named export to the default export. This PR fix compatibility issue.

Test plan

Run application with react-native@0.77

@piaskowyk piaskowyk marked this pull request as ready for review January 10, 2025 09:30
@piaskowyk piaskowyk requested a review from tomekzaw January 10, 2025 09:30
@piaskowyk piaskowyk added this pull request to the merge queue Jan 10, 2025
Merged via the queue into main with commit 333934b Jan 10, 2025
9 checks passed
@piaskowyk piaskowyk deleted the @piaskowyk/findHostInstance-0.77 branch January 10, 2025 10:29
tomekzaw pushed a commit that referenced this pull request Jan 10, 2025
## Summary

The method findHostInstance in react-native@0.77 has been moved from a
named export to the default export. This PR fix compatibility issue.

## Test plan

Run application with `react-native@0.77`
@tomekzaw tomekzaw mentioned this pull request Jan 12, 2025
github-merge-queue bot pushed a commit that referenced this pull request Jan 13, 2025
## Summary

This PR bumps `react-native` in paper-example and fabric-example from
`0.76.5` to `0.77.0-rc.6` (golden RC) accordingly to
https://react-native-community.github.io/upgrade-helper/?from=0.76.5&to=0.77.0-rc.6.

Apart from this, changes have been made in macos-example, tvos-example
and web-example to align versions of common native dependencies so they
are hoisted by yarn.

I had to patch `@shopify/flash-list`:
* Shopify/flash-list#1466 – fixes Android
build
* Shopify/flash-list#1041 – fixes `scrollTo`
example

Changes required by Reanimated to support RN 0.77 have been moved to
separate PRs for the sake of atomicity and transparency:
* #6875
* #6876
* #6883
* #6884

## Test plan

---------

Co-authored-by: Krzysztof Piaskowy <krzysztof.piaskowy@swmansion.com>
tomekzaw pushed a commit that referenced this pull request Jan 13, 2025
## Summary

The method findHostInstance in react-native@0.77 has been moved from a
named export to the default export. This PR fix compatibility issue.

## Test plan

Run application with `react-native@0.77`
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