Hi, it seems since version 7.x.x Prefetch is no longer available in @edgio/react.
In the node_modules folder I can see the Prefect.js file is there, however Prefetch.d.ts is missing and in index.d.ts there’s no reference to it neither.
Downfrading to version 6 fixes the problem, however I miss useServiceWorker.
It checked the source and it looks like in version 7, the Prefetch module was changed from .ts to .js. I am not sure why this change occurred, but I do see that index.js is exporting the 3 modules:
export { default as Prefetch } from './Prefetch'
export { default as useServiceWorker } from './useServiceWorker'
export { default as useDevtools } from './useDevtools'
You will likely need to ignore any error about the Prefetch type declaration missing.