I have a React app like this.
var X = React.createClass({ componentDidMount: function() { fetch(this.props.feed).then(...); } render: function() {
I had a similar problem, dynamically generated pages that contain data relevant to the React stuff.
I just declared them in the global scope ..
.. THEN ..
ReactDOM.render( , document.getElementById('app') )
Obviously, from a namespacing perspective, this can have some drawbacks :)