Auto-Fetching is not working after deploy

Hi, I have attended the last office hours which Jeremy demonstrated auto fetching using tanstack/react query and fmgofer. I have tried to create a sample file which works in development mode. However, when I tried to deploy, it doesn’t work anymore.

Does anyone know the reason or am I miss something. I could provide code if needed.

Thanks