Why use react-plotly.js instead of only plotly.js?

Hello,

After using plotly for a long time, I noticed that there’s a library called react-plotly.js. Currently my project is in React.js but I would like to know why would I want to implement this library in my project. Does it bring some react-specific benefits, other than bugs?

My project is currently importing Plotly rightaway import Plotly 'plotly.js/lib/index-cartesian';

1 Like