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 23114d1 commit 4cfec27Copy full SHA for 4cfec27
src/js/packages/@reactpy/client/src/components.tsx
@@ -135,6 +135,8 @@ function ScriptElement({ model }: { model: ReactPyVdom }) {
135
ref.current.appendChild(scriptElement);
136
}, [model.key]);
137
138
+ // FIXME: We currently return an extraneous div to attach the script to, but there
139
+ // might be a better way to do this.
140
return <div ref={ref} />;
141
}
142
0 commit comments