Relay.Store
Relay.Store
The Relay Store
provides an API for dispatching mutations to the server.
Overview
Methods
-
static commitUpdate(mutation, callbacks)
Initiate processing of a mutation. -
static applyUpdate(mutation, callbacks)
Adds a MutationTransaction to the queue without committing it.
Note: Equivalent applyUpdate
and commitUpdate
methods are also provided on the this.props.relay
prop that is passed to components by Relay.Container
. These dispatch mutations in the context of the currently active Relay.Environment
.
Methods
commitUpdate (static method)
登录查看完整内容