backbone-react-component
backbone-react-component copied to clipboard
A bit of nifty glue that automatically plugs your Backbone models and collections into your React components, on the browser and server
Imported the new `prop-type` package and used it in place of `React.PropTypes` within `/lib/components.js` See https://reactjs.org/blog/2017/04/07/react-v15.5.0.html#migrating-from-reactproptypes
The warning when install backbone-react-component `[email protected] └── UNMET PEER DEPENDENCY [email protected]` `npm WARN EPEERINVALID [email protected] requires a peer of react@^0.14.0 but none was installed.`
What's the reason behind listening to `change` event on collections? This causes a lot of events which leads to re-rendering components. Wouldn't be better to listen to `add` and `remove`...
these changes seem to be the minimal amount needed to make backbone-react-component usable in react-native. it's been really useful to me and i figure others will find backbone-react-component handy in...
Maybe I'm doing it wrong, but here's an example of the bug: http://codepen.io/markmiro/pen/pjbVma?editors=001 Is there another way to get the Backbone model and React view to stay in sync? I...
The release was done but this is still missing.
I have a component using the Backbone.React.Component mixin that accepts a collection. I populate this collection within my component via Backbone's `Collection.reset`, passing in an array of JavaScript objects with...
I was able to get things working by: - Requiring `React` instead of `react` - Remove references to `findDOMNode` See the following diff: ``` diff --git a/node_modules/backbone-react-component/lib/component.js b/fixed.js index e58dd96..0ca09f7...
Is there a way to listen to specific changes in a model attributes? For example, if I only want to render the component again if the model's name has changed?...