micah-williamson / d3-seating-chart

A simple but pleasant seating chart solution written with d3js
51 stars 13 forks source link

use in reactjs #6

Open mimre73 opened 5 years ago

mimre73 commented 5 years ago

how to use this package in react js

micah-williamson commented 4 years ago

Really how you'd use any 3rd party library that doesn't have react support. You will listen for prop change to update the d3 component directly. To bind the d3 component use reacts ref to get the dom element.

Until react updates and changes everything that is.