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

RJS-2913: Supporting React Native v0.76.0 #6912

Merged
merged 7 commits into from
Oct 29, 2024
Merged

Conversation

kraenhansen
Copy link
Member

What, How & Why?

This upgrades our test app to use React Native 0.76.0 and closes #6910 and #6908.

☑️ ToDos

  • 📝 Changelog entry
  • 📝 Compatibility label is updated or copied from previous entry
  • 📝 Update COMPATIBILITY.md
  • 🚦 Tests
  • 📦 Updated internal package version in consuming package.jsons (if updating internal packages)
  • 📱 Check the React Native/other sample apps work if necessary
  • 💥 Breaking label has been applied or is not necessary
  • 🔔 Mention @realm/devdocs if documentation changes are needed

@kraenhansen kraenhansen self-assigned this Oct 28, 2024
@cla-bot cla-bot bot added the cla: yes label Oct 28, 2024
Copy link
Contributor

@gagik gagik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not too familiar with the intricacies here but looks reasonable, just one note about the commented code.

@@ -23,7 +23,7 @@ import { act, fireEvent, render, renderHook, waitFor } from "@testing-library/re
import { AppProvider, useApp } from "../AppProvider";
import { Realm } from "realm";

jest.mock("react-native/Libraries/Animated/NativeAnimatedHelper");
// jest.mock("react-native/Libraries/Animated/NativeAnimatedHelper");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it be left as a comment or just removed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be honest, I don't understand the original need for this line and the file is missing in the latest version of React Native, leading to a test failure.

I left it as a comment to make it easier to search for and blame if it starts failing 🙈

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough, although maybe it'd be good to have a short comment just stating that

@kraenhansen kraenhansen merged commit 27f61ed into main Oct 29, 2024
32 checks passed
@kraenhansen kraenhansen deleted the kh/react-native-0.76.0 branch October 29, 2024 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade React Native Test App to RN 0.76.0
2 participants