I was wondering if anyone has a good example of an update form using Apollo Client and the new query and mutation components. By update I mean:
- Populate form values with query results
- Update the component state (or apollo-link-state?) when the input is edited.
- On submission update the state (or apollo-link-state?)
I'm struggling with it right now and I'm wondering what the best way to build it would be. Should I be using Apollo-link-state to store the form state? If not, I can't find a way to map the props from the query component into component state object without using the query HOC. Any examples would be great!
Thanks!