I want to create a React.JS component which can be rendered in multiple places using the classname of div elements instead of an id.
The regular way to render a component is this:
React.render(<Component/>, document.getElementById('id'))
while I wonder if it' possible to do this:
React.render(<Component/>, document.getElementsByClassName)?