Swap `import React from 'react';` to using named imports like `import { useEffect } from 'react'`. Per @kmcfaul this will break when we switch to React 19.
Swap
import React from 'react';to using named imports likeimport { useEffect } from 'react'.Per @kmcfaul this will break when we switch to React 19.