Subscription Code Example and Cleanup Clarity #8165
Labels
amplify/data
Issue related to aws-amplify/amplify-category-api
needs-clarification
The current documentation is not clear.
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/
The text was updated successfully, but these errors were encountered: