DEV Community

Discussion on: Server-Side Rendered Real-time Web App with Next.js, AWS Amplify & GraphQL

Collapse
unic0arn profile image
Fredrik Hallberg

Awesome tutorial! I don't know why but for the subscriptions to work I had to configure PubSub with
PubSub.configure(config);

I also think the subscribe function in the observable type should return an object with an unsubscribe function.