Recommend `connect-backbone-to-react` for integrating Backbone data
Personne n'a encore pris cette issue.
- Langage dominant
- JavaScript
- Étoiles
- 11.8k
- Forks
- 7.9k
- Merge moyen
- 1 j 11 h
- PR mergées (30 j)
- 11
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Commencez par la section consacrée aux modèles Backbone dans content/docs/integrating-with-other-libraries.md, référencée dans l’issue, et examinez l’extrait d’intégration existant avec connect-backbone-to-react et sa documentation BackboneProvider. Le travail sera considéré comme terminé lorsque la documentation React sera mise à jour pour recommander la bibliothèque si les maintainers l’approuvent, tout en conservant l’exactitude des instructions d’intégration et des liens.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- react
- Domaine
- documentation
- Type d'issue
- Documentation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 35/100