Files
react/packages/react-linked-input
Paul O’Shannessy 0a8f7329b4 Update react-linked-input
- Restores React dep to 15
- Bumps version to 1.0.1 for publishing
2016-04-08 14:53:37 -07:00
..
2016-04-08 14:53:37 -07:00

This component supports the ReactLink API (valueLink, etc) for input components. Support for ReactLink on DOM elements will be removed from React. This component may be used as a migration plan (so your code doesn't break in the next version of React) or may be used if you just like the ReactLink data binding semantics. However, this component is not maintained, so use at your own risk.

var React = require('react');
var ReactDOM = require('react-dom');
var LinkedInput = require('react-linked-input');

var link = {value: 'boo', requestChange: function() {}};
React.render(<LinkedInput valueLink={link} />, container);