import { useEffect, useRef, type ComponentPropsWithoutRef, type ReactNode } from 'react' // Client-only port of next/script (next/dist/client/script.js) for the // TanStack build. React never executes