[macOS] Downgrade react-native-worklets - #4410
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe macOS example updates ChangesmacOS Worklets dependency
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This PR updates the macos-example workspace to use an older react-native-worklets release to remain compatible with react-native-macos / RN 0.81 constraints (since newer Worklets require newer Reanimated versions that don’t support RN 0.81 on macOS).
Changes:
- Downgrade
react-native-workletsinapps/macos-examplefrom the patched0.9.1to0.8.1. - Refresh CocoaPods lockfile for the macOS example to reflect the dependency graph after the downgrade (including the resolved Reanimated/Worklets pods).
Reviewed changes
Copilot reviewed 1 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| apps/macos-example/package.json | Pins react-native-worklets to 0.8.1 for macOS/RN 0.81 compatibility. |
| apps/macos-example/macos/Podfile.lock | Updates pod lockfile to match the resulting native dependency resolution. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Description
#4407 stack upgraded Worklets to 0.9. The problem is that Worklets 0.9 require Reanimated 4.4 or newer. These Rea versions do not support RN 0.81, which is still the latest release of
react-native-macos. We decided to downgrade worklets instead of trying to revive RN Macos.Test plan
Build example apps