Recommend `connect-backbone-to-react` for integrating Backbone data
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- JavaScript
- Star
- 11.8k
- Fork
- 7.9k
- Merge trung bình
- 1 ngày 11 giờ
- Pull request đã merge (30 ngày)
- 11
Mô tả
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.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với phần các model Backbone trong content/docs/integrating-with-other-libraries.md, được liên kết trong issue, và xem xét snippet tích hợp hiện có cùng với connect-backbone-to-react và tài liệu BackboneProvider của nó. Công việc được xem là hoàn tất khi tài liệu React được cập nhật để đề xuất thư viện nếu các maintainer phê duyệt, đồng thời giữ cho hướng dẫn tích hợp và các liên kết chính xác.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- react
- Lĩnh vực
- documentation
- Loại issue
- Tài liệu
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 35/100