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.
2 parents 259bc32 + c750110 commit 70295a1Copy full SHA for 70295a1
srcjs/widget.js
@@ -91,6 +91,8 @@ export function reactWidget(name, type, components, options) {
91
}
92
lastValue = value;
93
94
+ // with functional stateless components this will be null
95
+ // see https://reactjs.org/docs/react-dom.html#render for more details
96
this.instance.component = ReactDOM.render(hydrate(components, value.tag), el);
97
});
98
return {
0 commit comments