Repository navigation
Roadmap
These reflect the current plans of Relay Team as of the 2 February 2016 Sync. For the latest information as plans evolve, see the Meeting Notes.
- Mobile First: support React Native product teams at Facebook.
- Performance
- Simplicity with a predictable degrees of correctness.
- Balancing sophistication vs iteration speed.
- Provide low-level primitives so that product teams and OSS users can build tooling on top (as they can with React).
- Reduce support costs:
- Identify and address common types of issues.
- Simplify the API and improve documentation to help developers understand the framework better.
- Centralizing and streamlining internal code sharing across projects.
- Improve mutations.
- Improve disk cache integration in Relay core (example: rethink
onReadyStateChangecallback). - Persisted queries.
- RelayConnection API.
- Open source plan.
- Improve disk cache hit rates.
- Split Relay core and react-relay; core provides basic primitives to build tools in userspace.
- Run Relay core in a web worker.
- Investigate "persisted"/native cache readers (read from cache in native code).
- Reduce memory usage (improve garbage collection or rethink).
- Potential improved integration with React.
- Local schema and/or Redux integration.
- Support TTL or some other cache expiration policy.
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 using Relay offline (data persistence, handling lack of network, etc): @yuzhi.
- Support extracting queries at build time: @yungsters.
- Create Relay dev tools: @kassens.
- Support arbitrary root fields (avoids the need for a
viewerwrapper field): #112 by @steveluscher. - Make all Relay state contextual: #558 by @josephsavona.
- Make Relay more modular, drawing a clear boundary btween Relay core (imperative APIs for data-fetching) and the React/Relay integration (declarative APIs such as RelayRootContainer and RelayContainer). #559 by @josephsavona.
- Make OSS Relay & React Native work together: #26 by @zpao, @spicyj, and others.
- Support deferred queries (or alternative) in OSS: #288 by @wincent.
If you're looking for a place to contribute there are a number of smaller, well-defined enhancements tagged with "help wanted". The items below are larger enhancements that we plan to address in the future. If you're interested in working on them please reach out to the core team first.