Relay '- JavaScript framework for building data-driven React applications.

  •        51

Relay is a JavaScript framework for building data-driven React applications. Never again communicate with your data store using an imperative API. Simply declare your data requirements using GraphQL and let Relay figure out how and when to fetch your data.

Queries live next to the views that rely on them, so you can easily reason about your app. Relay aggregates queries into efficient network requests to fetch only what you need. Relay lets you mutate data on the client and server using GraphQL mutations, and offers automatic data consistency, optimistic updates, and error handling.

https://facebook.github.io/relay/
https://github.com/facebook/relay

Tags
Implementation
License
Platform

   




Related Projects

Om - ClojureScript interface to Facebook's React


A ClojureScript UI framework and client/server architecture over Facebook's React. Om UIs are out of the box snapshotable and undoable and these operations have no implementation complexity and little overhead. Om borrows ideas liberally from Facebook's Relay and Netflix's Falcor with a dash of inspiration from Datomic pull syntax to avoid the typical incidental complexity that arises from client/server state management.

react-apollo - :recycle: React higher-order component for Apollo Client


React Apollo allows you to fetch data from your GraphQL server and use it in building complex and reactive UIs using the React framework. React Apollo may be used in any context that React may be used. In the browser, in React Native, or in Node.js when you want to server side render.React Apollo unlike many other tools in the React ecosystem requires no complex build setup to get up and running. As long as you have a GraphQL server you can get started building out your application with React immediately. React Apollo works out of the box with both create-react-app and React Native with a single install and with no extra hassle configuring Babel or other JavaScript tools.

falcor - A JavaScript library for efficient data fetching


Falcor is a JavaScript library for efficient data fetching. It lets you represent all your remote data sources as a single domain model via a virtual JSON graph. You code the same way no matter where the data is, whether in memory on the client or over the network on the server.

React - JavaScript library for building user interfaces


React is a JavaScript library for building user interfaces. Lots of people use React as the V in MVC. React makes it painless to create interactive UIs. Design simple views for each state in your application, and React will efficiently update and render just the right components when your data changes. React can also render on the server using Node and power mobile apps using React Native.



Microcosm - Flux with actions at center stage


Flux with actions at center stage. Write optimistic updates, cancel requests, and track changes with ease. It helps to track all application data in a central place, Actions understand Promises out of the box and move through predefined states, Split up application state in large apps while still sharing common data, Keep loading states out of the data layer. Track action progress using status callbacks and lot more.

Spring - Application Framework


Spring is an Application framework which has Inversion of Control container, Aspect-oriented programming framework, Data access, Transaction management, Model-view-controller for web, Remote access framework (RPC) and lot more. It is well integrated with Toplink, Hibernate, JDO, and iBATIS.

frisbee - :dog2: Modern fetch-based alternative to axios/superagent/request


tldr; Stripe-inspired API wrapper for WHATWG's fetch() method for making simple HTTP requests (alternative to superagent, request, axios).If you're using node-fetch, you need node-fetch@v1.5.3 to use form-data with files properly (due to https://github.com/bitinn/node-fetch/issues/102) If you experience form file upload issues, please see https://github.com/facebook/react-native/issues/7564#issuecomment-266323928.

Haxl - A Haskell library that simplifies access to remote data, such as databases or web-based services


Having all this handled for you behind the scenes means that your data-fetching code can be much cleaner and clearer than it would otherwise be if it had to worry about optimizing data-fetching. We'll give some examples of how this works in the pages linked below.To use Haxl in your own application, you will likely need to build one or more data sources: the thin layer between Haxl and the data that you want to fetch, be it a database, a web API, a cloud service, or whatever. The haxl-facebook package shows how we might build a Haxl data source based on the existing fb package for talking to the Facebook Graph API.

react-server-routing-example - An example using universal client/server routing and data in React with AWS DynamoDB


A simple (no compile) example of how to do universal server/browser rendering, routing and data fetching with React and AWS DynamoDB for fast page loads, and search-engine-friendly progressively-enhanced pages.Also known as isomorphic, this approach shares as much browser and server code as possible and allows single-page apps to also render on the server. All React components, as well as router.js and db.js are shared (using browserify) and data fetching needs are declared statically on each component.

Xoops - Web content management system in PHP


XOOPS is an acronym of eXtensible Object Oriented Portal System. XOOPS is a web application platform written in PHP for the MySQL database. Its object orientation makes it an ideal tool for developing small or large community websites, intra company and corporate portals, weblogs and much more.

Phorum - PHP based forum software


Phorum is a message board software that is designed to meet different needs of different web sites while not sacrificing performance or features. MySQL community forum is powered by Phorum.

Flocker - Container data volume manager for your Dockerized application


Flocker is an open-source Container Data Volume Manager for your Dockerized applications. By providing tools for data migrations, Flocker gives ops teams the tools they need to run containerized stateful services like databases in production. Unlike a Docker data volume which is tied to a single server, a Flocker data volume, called a dataset, is portable and can be used with any container, no matter where that container is running.

graphql-anywhere - :icecream: Run a GraphQL query anywhere, against any data, with no schema.


Run a GraphQL query anywhere, without a GraphQL server or a schema. Just pass in one resolver. Use it together with graphql-tag.I think there are a lot of potentially exciting use cases for a completely standalone and schema-less GraphQL execution engine. We use it in Apollo Client to read data from a Redux store with GraphQL.

c2 - Declarative data visualization in Clojure(Script).


C2 is a D3-inspired data visualization library for Clojure and ClojureScript. As with D3, the core idea is to build declarative mappings from your data to HTML or SVG markup. This lets you leverage CSS and the existing web ecosystem to construct bespoke data visualizations. C2 encourages a "data-driven" approach to application design. Compose pure functions to map your data to native Clojure vectors and maps that represent the DOM, and then let the library handle rendering into actual elements (on the clientside) or a string of markup (on the serverside).