(null);
+
+ useEffect(() => {
+ const iframe = iframeRef.current;
+ if (iframe && iframe.contentDocument) {
+ iframe.contentDocument.open();
+ iframe.contentDocument.write(throttledCode);
+ iframe.contentDocument.close();
+ }
+ }, [throttledCode]);
return (