Skip to content

Rn 086 compatibility#77

Open
CaioGouveia-Trasse wants to merge 3 commits into
zobeirhamid:masterfrom
CaioGouveia-Trasse:rn-086-compatibility
Open

Rn 086 compatibility#77
CaioGouveia-Trasse wants to merge 3 commits into
zobeirhamid:masterfrom
CaioGouveia-Trasse:rn-086-compatibility

Conversation

@CaioGouveia-Trasse

Copy link
Copy Markdown

No description provided.

CaioGouveia-Trasse and others added 3 commits July 24, 2026 18:07
Bump react to 19.2.3, react-native to 0.86.0, and typescript to ^5.9.3
(capped below 6.0.0 by @typescript-eslint/parser's peer range). Replace
the discontinued @react-native-community/eslint-config and
metro-react-native-babel-preset with their @react-native/* successors,
add @react-native/jest-preset, and bump react-native-builder-bob to
^0.43.0 with a warning-free exports/main/module/types configuration.

Drop @types/react-native (types now ship from react-native itself) and
tighten peerDependencies from "*" to react >=18.0.0 and
react-native >=0.72.0, reflecting what this build actually supports.

Fix .eslintignore to exclude the whole example/ directory instead of
just example/build — previously root `yarn lint`/`yarn test` only
avoided linting/testing example/ by accident, via node_modules hoisting
from the now-removed @react-native-community/eslint-config.

BREAKING CHANGE: peerDependencies now require react-native >=0.72.0 and
react >=18.0.0; consumers on older versions are no longer supported.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@types/react 19 no longer implicitly merges children into
React.FunctionComponent prop types. Add explicit
children?: React.ReactNode to every component/provider that relied on
that implicit merge: Appearer, Collapser, Sticker, Transitioner,
Snapper, AnimatedValueProvider, MeasurementsProvider, and
HasReachedTransitionPointProvider.

Replace two renamed RN APIs used across the tree:
StyleSheet.absoluteFillObject -> StyleSheet.absoluteFill, and
Platform.isTVOS -> Platform.isTV in constants.ts.

Fix the stray import path left over from the
HasReachedTransitionPoint.tsx.tsx -> .tsx rename in Container, Scroller,
Appearer, and index.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Add a Compatibility section to README noting the library builds
cleanly against React Native 0.86 (New Architecture required) and its
new peerDependencies floor, plus a Bugs entry about
StatusBar.setTranslucent() becoming a no-op under Android 15+
edge-to-edge enforcement.

Note in CONTRIBUTING that example/ is still pinned to React Native
0.65.1 with an outdated Storybook/Detox/React Navigation/Reanimated
stack and needs its own separate migration before it can visually
validate the library on RN 0.86.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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