What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-28 08:05:07
component did mount mutation graphql
import React from 'react'; import { Mutation } from 'react-apollo'; class DoMutation extends React.Component { componentDidMount() { const { mutate } = this.props; mutate(); }; render() { return null; }; }; const MutationOnMount = (... Add solution