Closed danielfttorres closed 7 years ago
When I try to access commitUpdate() method using this.props.relay.commitUpdate(), this is undefined on RelayStore.js#93 because this._env not exists.
commitUpdate()
this.props.relay.commitUpdate()
this._env
The solution is call the commitUpdate() method according the template of create-GraphQL, by using commitUpdate() through RelayStore instead of this.props.
RelayStore
this.props
When I try to access
commitUpdate()
method usingthis.props.relay.commitUpdate()
, this is undefined on RelayStore.js#93 becausethis._env
not exists.