5 ms·
"Do not use Backbone models." This seems a little strong. What is the reason for this guideline? I know of many projects that are combining the use of React wi
by twsted 11y ago
"Do not use Backbone models."
This seems a little strong. What is the reason for this guideline? I know of many projects that are combining the use of React with Backbone.
- greg5green 11y agoWe are trying to remove Backbone from our codebase entirely. This is more of a guideline for their particular organization -- they've decided to move away from Backbone and don't want developers adding any new Backbone code.
- ariabuckles 11y agoCorrect. That and passing mutable backbone models as props went poorly back when we did more of that. Mutable props are hard to reason about and go against all of the recommendations for React props. (There are plenty of good use-cases of backbone out there though.)
- dangoor 11y agoWe're trying to reduce the amount of JavaScript on our pages and have decided at this point to move forward with Redux as our common approach to state (keeping an eye on things like Relay and Falcor as we move along).