3 ms·
Mutations are global, not view specific. They can be triggered by multiple views, and are smart enough to only refetch the data that is currently being shown.
by underwater 11y ago
Mutations are global, not view specific. They can be triggered by multiple views, and are smart enough to only refetch the data that is currently being shown.
For Facebook we can write a single "like" mutation and share it between comments, posts, photos, etc.