Recommend `connect-backbone-to-react` for integrating Backbone data
还没有人认领这个 Issue。
- 主要语言
- JavaScript
- 星标
- 11.8k
- 派生
- 7.9k
- 平均合并
- 1 天 11 小时
- 30 天内合并 PR
- 11
描述
Hello!
Here, y'all recommend an approach for integrating Backbone models and collections with React and include a code snippet for doing so.
Luckily, this functionality has been achieved using a HoC (like the snippet recommends) in a simple, tested library created by MongoDB called connect-backbone-to-react. We and they (and probably others) have been using the library in production with great success (in our case, for over 6 months).
Recommending connect-backbone-to-react would help devs and projects new to React get up-and-running with React+Backbone quickly and easily. Rather than building their own integration library, they could simply use one that already exists. Also, by centralizing on a solution, the community could collaborate to make the migration from Backbone to React easier and safer for everyone.
connect-backbone-to-react additionally offers a Redux-like provider in BackboneProvider, that many folks may find useful.
Happy to submit a PR to update the docs :). Wanted to check in to get y'all's thoughts first.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 issue 中链接的 content/docs/integrating-with-other-libraries.md 里的 Backbone 模型部分开始,并结合 connect-backbone-to-react 及其 BackboneProvider 文档,检查现有的集成代码片段。完成标准是在维护者批准的情况下更新 React 文档以推荐该库,同时确保集成指南和链接准确无误。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react
- 领域
- documentation
- Issue 类型
- 文档
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 35/100