We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 188d5fc commit 971bedeCopy full SHA for 971bede
src/factory.js
@@ -73,6 +73,7 @@ export default function plotComponentFactory(Plotly) {
73
}
74
75
componentDidMount() {
76
+ if (!isBrowser) return;
77
this.p = this.p
78
.then(() => {
79
return Plotly.newPlot(this.el, {
@@ -95,6 +96,7 @@ export default function plotComponentFactory(Plotly) {
95
96
97
98
componentWillUpdate(nextProps) {
99
100
101
102
if (hasReactAPIMethod) {
0 commit comments