Is it possible to translate the following D3 snippet into "pure" ReactJS to avoid any interaction with the DOM from D3 (to let React handle it instead)?
// Dragging an SVG `g` element
d3Select(this.g)
.call(
d3Drag()
.on('start', this.handleDragStarted)
.on('drag', this.handleDragged)
.on('end', this.handleDragEnded)
);
// Zooming
d3Zoom()
.on('start', this.handleZoomStart)
.on('zoom', this.handleZoom)
.on('end', this.handleZoom);