Q:

Using OpenLayers 3 as react component

I wonder whats best practice to manage OpenLayer3 map and layers as react components. Since only the map ultimately needs a target to be rendered in, the layers could be composed as react components, as well as the layers sources.
Are Features react children to the component or should we just use componentDidMount and componentWillUpdate to update features?

A:

One year later, I created this minimal wrapper
react-openlayers.

