Repository navigation
Roadmap
Joseph Savona edited this page Nov 2, 2015
·
19 revisions
This is a tentative roadmap of the high-level enhancements we're working on or planning for Relay. Note that we're using the issues page to track bugs and as a venue for discussing these enhancements with the community. If you're curious about one of the tasks below and we haven't already created an issue, feel free to file one!
- Support persisting data for offline use: @yuzhi.
- Support deferred queries: #288 by @wincent.
- Field-level cache eviction and query tracking: #537 by @joesavona.
- Simpler/faster query representation via plain objects: #530 by @joesavona.
- Real-time updates via an event-based Subscription API: #541 by @skevy (contributor).
- Support arbitrary root fields (avoids the need for a
viewerwrapper field): #112 by @steveluscher. - Support extracting queries at build time: @yungsters.
- Create Relay dev tools: @kassens.
Smaller enhancements are tagged with 'enhancement' and are a great place to start if you're interested in contributing. The following are some larger-scale changes that we plan to address:
- Support multiple Relay contexts in the same JS environment: this is necessary for server rendering in OSS, and also simplifies the implementation of 'reset'.
- Simplify the mutations API: #538.
- Gracefully handle the lack of a network connection.
- Support client/local state
- Draw a clear distinction between Relay core (imperative APIs for data-fetching) and the React/Relay integration (declarative APIs such as RelayRootContainer and RelayContainer). This would allow experimentation and iteration within each layer. For example, it should be possible to use the Relay.Containers backed by Flux stores, or to reuse Relay core with your own container implementation.