Relay.Renderer
Relay.Renderer
Relay.Renderer is a replacement for Relay.RootContainer
that composes a Relay.ReadyStateRenderer
and performs data fetching for a given queryConfig
.
Overview
Props
-
Container
Relay container that defines fragments and the view to render. -
forceFetch
Whether to send a server request regardless of data available on the client. -
queryConfig
`QueryConfig` or `Relay.Route` that defines the query roots. -
environment
An instance of `Relay.Environment` or any object that implements the `RelayEnvironment` interface. -
render
Called to render when data requirements are being fulfilled. <