export default window.React; const { useEffect, useRef } = window.React; export { useEffect, useRef };