This repository was archived by the owner on Oct 9, 2023. It is now read-only.

Description
RenderReact imports reactDOMServer here: https://github.com/airbnb/hypernova-react/blob/master/src/index.js#L3
Your example bundles
var React = require('react');
var renderReact = require('hypernova-react').renderReact;
function MyComponent(props) {
return React.createElement('div', {
onClick: function () {
alert('Click handlers work.');
},
}, 'Hello, ' + props.name + '!');
}
module.exports = renderReact('MyComponent.js', MyComponent);
into the rails application using sprockets.
Does this mean the client browser is always loading reactDOMServer?