Skip to content

backbone.cord is a React/Backbone library for data binding and a JSX-compatible declarative layout pipeline.

License

Notifications You must be signed in to change notification settings

backbone-cord/backbone.cord

Repository files navigation

About

backbone.cord.js is a React/Backbone library for data binding and a JSX-compatible declarative layout pipeline.

Requirements

  • Backbone 1.1+, other versions and variants may also work but haven't been tested
  • Modern Browser, IE9+ - Array.indexOf, Array.isArray, Object.getPrototypeOf, Object.defineProperty, Object.getOwnPropertyDescriptor, and Function.bind methods are used, possibly others that would need a polyfill on older browsers
  • jQuery and/or Underscore.js are NOT required, though normally used with Backbone.

Example

import {h, View} from "backbone.cord";

var MyView = View.extend({
	el() {
		return <p>Hello [model.firstName] [model.lastName].</p>;
	}
});

Documentation

For complete documentation please visit: https://github.com/backbone-cord/backbone-cord.github.io

License

MIT