aws-amplify / aws-amplify/docs
Subscription Code Example and Cleanup Clarity
Open
amplify/data
needs-clarification
- Dominant language
- MDX
- Stars
- 506
- Forks
- 1.1k
- Avg merge
- 3h 14m
- Merged PRs (30d)
- 1
Description
**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: https://github.com/aws-amplify/amplify-js/issues/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/
Contributor guide
Assessment
This issue has not been assessed yet.