Closed mikechabot closed 8 years ago
Hi,
I was also with this problem:
[10:45:25] Warning: React.renderToString is deprecated. Please use ReactDOMServer.renderToString from require('react-dom/server') instead.
I've solved it by following what it says and replacing from:
React.renderToString(React.createElement(Router, i));
To ReactDOM.renderToString(React.createElement(Router, i));
I'll make a small fix for this. Thanks for reporting!
Thanks for this amazing d3-components :) Cheers
Thanks! I second the sentiment of @thomasmodeneis - great stuff!
Thank you! I uploaded a new npm release with the problem fixed. Maybe you can check it out!
Confirmed working as expected
Thanks for the feedback!
I'm using LineChart with ReactJs (0.14.5). Everything is displaying appropriately, and here's my component:
However, I am getting the following warnings in console via
warnings.js
:The first warning is stemming from LineChart.js, line #60: