When given data that updates frequently, I observed multiple webgl contexts being created. By taking advantage of the async nature of the newPlot and react functions from plotly, this should no longer happen! :D
Removed 'plotly_beforehover' since it is not a event exposed by plotly.
Added plotly types to better facilitate communication between developer using react-plotlyjs-ts and underlying plotly API.