yahoo/react-intl — pull request #10 by ericf (2014-08-18 14:59:18+00:00)
Title: Pipe Intl messages component hierarchy

This change pipes Intl `messages` through the component hierarchy, similar to `locales` and `formats`. A new `getIntlMessage('path.to.message')` method has also been added for convenience.

```js
var MyComponent = React.createClass({
mixins: [ReactIntlMixin],
render: function () {
return

{this.intlDate(new Date())}

{this.intlNumber(600)}

{this.intlMessage(this.getIntlMessage('product.info'), {
product: 'Mac Mini',
price: 2000.0015,
deadline: 1390518044403
})}

;
}
});

var i18n = {
locales: ['en-US'],
messages: {
product: {
info: '{product} will cost {price, number} if ordered by {deadline, date}'
}
}
};

React.renderComponent(

document.body
);
```

Closes #9