NuCivic / react-nvd3

React component for NVD3 re-usable charting library
MIT License
136 stars 44 forks source link

fix: use createRef instead of string ref #93

Open barry800414 opened 5 years ago

barry800414 commented 5 years ago

if you use newer version of React (e.g. 16.8) ,you may have the following error message:

螢幕快照 2019-05-06 下午5 24 15

This PR can solve it.

The problem comes from React has deprecated string ref in newer version.