https://github.com/airtasker/react-backbone-connect
A react-redux like but for backbone.
https://github.com/airtasker/react-backbone-connect
Last synced: 13 days ago
JSON representation
A react-redux like but for backbone.
- Host: GitHub
- URL: https://github.com/airtasker/react-backbone-connect
- Owner: airtasker
- License: mit
- Created: 2018-01-03T06:26:10.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T18:07:13.000Z (over 3 years ago)
- Last Synced: 2025-02-19T07:38:36.993Z (over 1 year ago)
- Language: JavaScript
- Size: 1.33 MB
- Stars: 1
- Watchers: 48
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# React Backbone Connect
React bindings for [Backbone](https://Backbonejs.org/).
inspired by [React Redux](https://github.com/Reactjs/React-Redux)
Performance and flexible.
[](https://www.npmjs.com/package/@airtasker/react-backbone-connect)
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](http://npmjs.com/) package manager with a module bundler like [Webpack](https://webpack.js.org/) or [Browserify](http://browserify.org/) to consume [CommonJS modules](http://webpack.github.io/docs/commonjs.html).
If you don’t yet use [npm](http://npmjs.com/) or a modern module bundler, and would rather prefer a single-file [UMD](https://github.com/umdjs/umd) build that makes `ReactBackboneConnect` available as a global object.
## Documentation
React Backbone Connect API is mimics React Redux. [ReactRedux](https://github.com/Reactjs/React-Redux/blob/master/docs/api.md#connectmapstatetoprops-mapdispatchtoprops-mergeprops-options)
We also provided `createSelector` and `createStructuredSelector` api that mimics [Reselect](https://github.com/Reactjs/reselect)
## License
MIT