-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recommend connect-backbone-to-react
for integrating Backbone data
#510
Comments
cc @gaearon , since you reviewed & merged the original PR that added these docs. |
Seems like it's fairly new, maybe it's better to wait until it gets a bit more adoption? |
We've use it in production for a year and have made several long-tail bugfixes. It's been well battle tested from our end. |
How does it compare to more popular alternatives? |
@gaearon : We considered a few other projects that happened to have more GitHub stars but found
While those other projects have more GitHub stars, only two are actually used more, and by a relatively insignificant margin: |
👋 Hi there, original author of Since writing this library we've been using it in production at MongoDB (for our Atlas product) since April of last year without any issues. It's been a great addition to our toolchain, allowing us to gradually migrate our (very large) codebase from Backbone/Marionette to React. Having It was written before the doc additions but mostly codifies many of the recommendations of those doc changes. Due to it being a self contained library we're also able to test it in isolation, doing our best to ensure that this glue between two frameworks doesn't leak or cause any un-expected errors. (The pain of glueing frameworks and having that glue be brittle is a pain that I never want to re-live.) I'm not sure how many developers are doing gradual migrations from Backbone to React so that may explain the (lack of) popularity. In any event, I would love to see it included in the docs as I do think it is beneficial to other developers out there who are in a similar situation as @spencer-brown and I. |
thoughts @gaearon ? |
bump @gaearon :) |
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 inBackboneProvider
, 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.
The text was updated successfully, but these errors were encountered: