chore(deps): bump react and @types/react#217
Merged
Merged
Conversation
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react). These dependencies needed to be updated together. Updates `react` from 19.2.3 to 19.2.7 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.2.7/packages/react) Updates `@types/react` from 19.2.15 to 19.2.17 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) --- updated-dependencies: - dependency-name: react dependency-version: 19.2.7 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: "@types/react" dependency-version: 19.2.17 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…bump Dependabot bumped react from 19.2.3 to 19.2.7 but react-dom and react-test-renderer stayed at 19.2.3. This caused CI failure on PR #217 because Jest's test renderer version check detected the mismatch. Changes: - react-dom: 19.2.3 -> 19.2.7 - react-test-renderer: added ^19.2.7 as devDependency (was pinned at 19.2.3 by jest-expo) - Added overrides/resolutions for both packages
…/testing-library) Dependabot bumped react from 19.2.3 to 19.2.7, but react-test-renderer@19.2.7 is incompatible with @testing-library/react-native@13.3.3 causing 'Unable to find node on an unmounted component' failures in 11 test suites. Reverting all React ecosystem packages to 19.2.3: - react: 19.2.7 -> 19.2.3 - react-dom: 19.2.7 -> 19.2.3 - react-test-renderer: ^19.2.7 -> 19.2.3 (pinned to match jest-expo@56.0.5) - @types/react: 19.2.17 -> 19.2.15 Lockfile entries and overrides/resolutions reverted accordingly.
…ive 13→14 Upgrade path for Dependabot PR #217 react bump: - react: 19.2.3 -> 19.2.7 - react-dom: 19.2.3 -> 19.2.7 - @testing-library/react-native: 13.3.3 -> 14.0.1 (required for react-test-renderer 19.2.7 compatibility) - react-test-renderer: 19.2.3 -> 19.2.7 (with override for jest-expo) - test-renderer: 1.2.0 (new - replaces react-test-renderer for testing-library v14 peer dependency) Rationale: @testing-library/react-native v14 replaces react-test-renderer with test-renderer@1.2 (a separate package), fixing the 'Unable to find node on an unmounted component' failures caused by react-test-renderer 19.2.7 incompatibility with v13.3.3.
masch
force-pushed
the
dependabot/bun/multi-b0dfc253ff
branch
5 times, most recently
from
July 3, 2026 19:20
da13ccc to
d16ae73
Compare
@testing-library/react-native v14 makes render() async by default. Every render() call now requires await, and all enclosing it() callbacks must be async. Generated via automated replacement across 30 test files. No logic changes — only syntax migration for v14 async API.
React 19.2.7 is incompatible with react-native 0.85.3 — the internal react-native-renderer@19.2.3 requires exact version match with react. This reverts: - react: 19.2.7 -> 19.2.3 - react-dom: 19.2.7 -> 19.2.3 - react-test-renderer: 19.2.7 -> 19.2.3 (no longer needs override) - Removed overrides/react-test-renderer and resolutions entry Keeps: - @testing-library/react-native 14.0.1 (v14 migration) - test-renderer 1.2.0 (new peer dep for testing-library v14) - All test file migrations (await render() for v14 async API) See issue #220 for Expo SDK 57 migration plan to unblock react bump.
In v14, fireEvent.press, fireEvent.changeText, etc. are all async and must be awaited. Without await, the event never fires and state updates never trigger.
- Remove deprecated @testing-library/react-hooks dependency - Migrate 12 test files to import renderHook/act from @testing-library/react-native with proper async/await - Fix AudioPlayerBridge: unmount() now awaits (v14 async requirement) - Fix BottomModal: replace removed UNSAFE_getByType with testID - Fix FeedbackForm: handleDismiss no longer blocks act() with await confirm() - Fix useConfirm test: handleTrigger uses .then() to avoid act() deadlock All 14 remaining test failures should be resolved by these changes.
…ve v14 API rerender() expects 1 argument in v14 (props: Props). Passing undefined since useOfflineGeofence doesn't take initial props.
masch
force-pushed
the
dependabot/bun/multi-b0dfc253ff
branch
from
July 3, 2026 19:42
9fcbaa2 to
c8393fc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does
Bumps @types/react from 19.2.15 to 19.2.17.
react 19.2.3 → 19.2.7 was attempted but BLOCKED by
react-native-renderer@19.2.3version mismatch (internal dep of react-native 0.85.3). React requires exact version match betweenreactandreact-native-renderer.Changes included
apps/mobile/package.jsonbun.lockrender()→await render()for @testing-library/react-native v14 async APIWhy this migration
@testing-library/react-native v14 drops
react-test-rendereras peer dep in favor oftest-renderer@1.2, which is compatible with React 19. All tests neededawait render()since v14 makes render async by default.What's pending for Expo SDK 57
React 19.2.3 → 19.2.7 is blocked until we migrate to Expo SDK 57 (released June 30, 2026, RN 0.86). RN 0.86 ships
react-native-renderer@19.2.7, which will match react@19.2.7. See issue #220 for the migration plan.At that point:
overrides.react-test-rendererentry if jest-expo@57 has updated its peer depValidation
✅ Prettier format check passed
⚠️ Tests cannot run locally (sandbox limitation — bun install times out)
⛔ Previous CI run failed due to react/react-native-renderer version mismatch (documented above)