🎥 Make videos programmatically with React
make react-shim work in nodejs
Jonny Burgerf9c4c034f921
diff --git a/packages/bundler/react-shim.js b/packages/bundler/react-shim.jsindex 73b740d800..ff7cee2909 100644--- a/packages/bundler/react-shim.js+++ b/packages/bundler/react-shim.js@@ -1,3 +1,7 @@import * as React from 'react';-window.React = React;+if (typeof globalThis === 'undefined') {+ window.React = React;+} else {+ globalThis.React = React;+}