reactjs / reactjs/react.dev

Recommend `connect-backbone-to-react` for integrating Backbone data

Offen
#510 8 Kommentare 10 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
JavaScript
Sterne
11.8k
Forks
7.9k
Ø Merge
1 T. 11 Std.
Gemergte PRs (30 T.)
11

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit dem Abschnitt zu Backbone-Modellen in content/docs/integrating-with-other-libraries.md, der im Issue verlinkt ist, und überprüfe das bestehende Integrations-Snippet zusammen mit connect-backbone-to-react und dessen BackboneProvider-Dokumentation. Als erledigt gilt die Aktualisierung der React-Dokumentation, um die Bibliothek zu empfehlen, falls die Maintainer zustimmen, während die Integrationsanleitung und die Links korrekt bleiben.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
react
Bereich
documentation
Issue-Typ
Dokumentation
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.