react-backbone v0.14.2 Release Notes

Release Date: 2014-12-09 // over 9 years ago
    • keep track of monitored xhr activity as state truthy value - 7bf735c You will now have a truthy value for state.loading instead of a boolean. This provides the ability to keep track of multiple simultaneous XHR requests (for example, a model fetch and collection fetch). Previously, state.loading would have gone to false after the first fetch returned (even if the second was still active)

    As long as you just comparing truthy values, no code changes are required. Do this:

        if (this.state.loading) {
    

    Do not do dhis

        if (this.state.loading === true) {
    

    Commits