Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subscription Code Example and Cleanup Clarity #8165

Open
chrisbonifacio opened this issue Dec 16, 2024 · 0 comments
Open

Subscription Code Example and Cleanup Clarity #8165

chrisbonifacio opened this issue Dec 16, 2024 · 0 comments
Assignees
Labels
amplify/data Issue related to aws-amplify/amplify-category-api needs-clarification The current documentation is not clear.

Comments

@chrisbonifacio
Copy link
Member

Describe the content issue:
Hi team! I follow the instruction in this Doc: https://docs.amplify.aws/react/build-a-backend/data/subscribe-data/ to see whether I can get event from model creation, and I cannot receive any event. If I wrap it in useEffect like this: aws-amplify/amplify-js#8755, the problem will be solved.

I wonder whether I've missed anything, if not, should someone update the doc.

URL page where content issue is:
https://docs.amplify.aws/react/build-a-backend/data/subscribe-data/

@chrisbonifacio chrisbonifacio added the amplify/data Issue related to aws-amplify/amplify-category-api label Dec 16, 2024
@chrisbonifacio chrisbonifacio self-assigned this Dec 16, 2024
@chrisbonifacio chrisbonifacio added the needs-clarification The current documentation is not clear. label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
amplify/data Issue related to aws-amplify/amplify-category-api needs-clarification The current documentation is not clear.
Projects
None yet
Development

No branches or pull requests

1 participant