Feedback and Validation using Mutations
Learn how to get feedback from the user and validate your input data when using GraphQL mutations in a React application.
We'll cover the following
Getting feedback
In the last lesson, we learned how to make a form to submit new books to our database. But the form doesn’t provide any confirmation that the data has been passed to the server. It would be better if the form gave us some feedback when the book is created. We can do that by changing the WrappedBookForm
to the following:
Get hands-on with 1400+ tech skills courses.