RelayContainer

RelayContainer

RelayContainer is a higher-order React component that lets a React component encode its data requirements.

  • Relay ensures that this data is available before the component is rendered.
  • Relay updates the component whenever the underlying data has changed.

Relay containers are created using Relay.createContainer.

Overview

Container Specification