@airtasker/react-backbone-connect

an react redux like lib but for backbone

Usage no npm install needed!

<script type="module">
  import airtaskerReactBackboneConnect from 'https://cdn.skypack.dev/@airtasker/react-backbone-connect';
</script>

README

React Backbone Connect

React bindings for Backbone.
inspired by React Redux
Performance and flexible.

npm downloads

In a Backbone project, there is a lot of logic deeply coupled in Backbone models. By using ReactBackboneConnect, it enables you to build a Redux like project using Backbone and React.
By decoupling the Backbone models from React components, transitioning from Backbone to Redux (or any other frameworks) will be easy and smooth.

Installation

React Backbone Connect requires React 0.14 or later and Backbone 1.1.2 or later.

npm install --save @airtasker/react-backbone-connect

This assumes that you’re using npm package manager with a module bundler like Webpack or Browserify to consume CommonJS modules.

If you don’t yet use npm or a modern module bundler, and would rather prefer a single-file UMD build that makes ReactBackboneConnect available as a global object.

Documentation

React Backbone Connect API is mimics React Redux. ReactRedux

We also provided createSelector and createStructuredSelector api that mimics Reselect

License

MIT