react-backbone v1.0.0 Release Notes

Release Date: 2015-04-17 // about 7 years ago
  • There are no longer initialization requirements for react-backbone. Now the dependencies are listed as peerDependencies

    • "react": "*",
    • "backbone": "*",
    • "underscore": "*",
    • "react-mixin-manager": ">=1.0",
    • "react-events": ">=1.0",
    • "backbone-xhr-events": ">=1.0"

    So, you must include all of the modules as dependencies of your project.

    The only initialization you need to do is just require the module

    var ReactBackbone = require('react-backbone');

    All input components are now available on ReactBackbone.input rather than Backbone.input. for example:

    var ReactBackbone = require('react-backbone');
    var Text = ReactBackbone.input.Text;

    The following utility functions are now located on ReactBackbone

    • getModelKey
    • modelIndexErrors
    • getModelValue
    • setModelValue

    🚚 Also, the with-deps files have been removed as the dependencies are handled intrinsicly.