feature request: Proposal: Evaluate migration from React Native CLI to Expo for improved DX and maintainability
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- react-native
调研方向
首先审查 Rocket.Chat React Native 项目当前的原生依赖,并检查它们与 Expo Dev Client 的兼容性。测试项目是否可以使用提议的 prebuild 方案运行,然后记录需要自定义原生支持的模块。完成标准是形成一份可行性研究,明确识别阻碍因素,并在可行的情况下制定分阶段迁移路线图。
由索引模型根据 Issue 内容生成。
描述
Feature Description
Proposal: Evaluate migration from React Native CLI to Expo
Problem
The current Rocket.Chat React Native app is built using the React Native CLI and relies heavily on manual native configuration. This leads to:
- Complex setup for new contributors
- Dependency conflicts (Node/React version alignment)
- Longer onboarding time
- Increased maintenance overhead for native modules
- Difficult environment reproducibility
During local setup, contributors often face issues related to:
- Peer dependency mismatches
- Native build configuration
- Version compatibility
Proposed Direction
Explore the feasibility of gradually adopting Expo (prebuild/dev-client approach) to improve:
- Developer experience
- Faster onboarding for contributors
- Easier dependency management
- Reduced native configuration complexity
- Improved testing and iteration speed
This does NOT necessarily mean a full immediate migration, but rather:
- Evaluating compatibility with existing native modules
- Identifying blockers
- Creating a migration roadmap if feasible
Possible Approach
- Audit current native dependencies and Expo compatibility
- Test running the project using Expo Dev Client
- Document modules requiring custom native support
- Propose a phased migration strategy (if viable)
Motivation and Use Case
Expected Benefits
- Faster setup for contributors
- Reduced environment-related issues
- Improved long-term maintainability
- Easier experimentation and feature development
Implementation Ideas
Willing to Contribute
I would like to take ownership of:
- Initial feasibility study
- Dependency compatibility analysis
- Proof-of-concept setup
- Documentation for migration path
Would love feedback from maintainers on whether this direction aligns with project goals.
Is this feature available in the API or web version?
Available in API
Rocket.Chat Server Version
No response
Rocket.Chat App Version
No response
Device Name
No response
OS Version
No response
Additional Context
No response
- 主要语言
- TypeScript
- 星标
- 2.4k
- 派生
- 1.5k
- 平均合并
- 1 天 15 小时
- 30 天内合并 PR
- 29
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
RocketChat/Rocket.Chat.ReactNative 的其他 Issue
-
[IMPROVEMENT] Remove redundant `await` on synchronous `userPreferences.getBool` in `getUsersPresence`可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭type: feature
难度 1/5 1 小时以内 新手友好度 92/100
RocketChat/Rocket.Chat.ReactNative#7737 ·
维护者通常 1 天内回复
-
UIKit modal: a viewSubmit response with no `type` field fails to close the modal on mobile (regression from #7057)可能已有人在做 @erikurt9 于 106 天前认领。 未关闭type: bug
难度 2/5 1-3 小时 新手友好度 76/100
RocketChat/Rocket.Chat.ReactNative#7503 · 3 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
type: bug
难度 1/5 1 小时以内 新手友好度 86/100
RocketChat/Rocket.Chat.ReactNative#7437 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
✅ tests 👷 ci type: feature
难度 2/5 1-3 小时 新手友好度 65/100
RocketChat/Rocket.Chat.ReactNative#7247 · 1 条评论 ·
维护者通常 1 天内回复
-
bug: goRoom navigates to broken RoomView after failed DM creation from search可能已有人在做 @deepak0x 于 216 天前认领。 未关闭type: bug
难度 2/5 1-3 小时 新手友好度 78/100
RocketChat/Rocket.Chat.ReactNative#7098 ·
维护者通常 1 天内回复
查看 RocketChat/Rocket.Chat.ReactNative 的全部 Issue
相似的 Issue
-
Out of order / duplicate key error shows the key bytes as decimal or UTF-8, not hex可能已有人在做 @bardrop 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 86/100
-
`/leaderboard`, the page and the share image say "be the first" for a program that hasn't started未关闭bug good first issue
难度 2/5 1-3 小时 新手友好度 84/100
codercops/discord-bot#152 ·
维护者通常 1 天内回复
-
bug i18n
难度 2/5 1-3 小时 新手友好度 74/100
endora-commerce/endora-commerce#1315 ·
维护者通常 1 天内回复
-
area:data-quality importer size:S
难度 2/5 1-3 小时 新手友好度 72/100
enorm-labs/event-junkie#5136 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 84/100
维护者通常 1 天内回复