Facebook announced Relay and GraphQL. However, they are not available yet. Are there alternative libraries that accomplish similar goals that can be used today?
Are there alternative libraries for Relay and GraphQL? [closed]
Asked Answered
React Transmit is a Relay-inspired library that uses Javascript Promises instead of GraphQL. It follows the official Relay API: github.com/RickWong/react-transmit –
Capo
There will be Falcor soon, but it also is not available yet.
Also there is some libraries like Breeze.js and JayData, which requires server to implement OData protocol.
UPD:
Falcor was released at August 17, 2015. Here is the official website. Here is the source codes.
The Breeze.js does not solve anything related to graph, but is a good Javascript framework for client / server data management. –
Mcquoid
@wonderfulworld Breeze.js communicates using OData. This builds on REST to support $expand so that you can retrieve multiple records with a single query, and $select so you specify which attributes you want. So it does solve some of the same challenges as Graph. That said, GraphQL looks far more attractive and I wouldn't recommend trying Breeze.js / OData unless you've got a .NET backend (we tried it and it hurt). –
Denny
© 2022 - 2024 — McMap. All rights reserved.