Repository: aws-amplify/docs
AWS Amplify Framework Documentation
The example for subscribing to mutation events did not include a clear way to decode and switch logic based on the . This update includes an example of how to accomplish the two, making it clear to the user how to handle an object that was created, updated, or deleted.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.