Facebook takes Relay JavaScript framework open source

From InfoWorld: Facebook this week is open-sourcing Relay, which provides data-fetching for React JavaScript applications. The move could open up new possibilities for the technology, Facebook engineers said.

Accessible on GitHub, Relay is a JavaScript framework for developing data-driven applications with React, Facebook's JavaScript library for building user interfaces. "Relay is actually intended to build and do for data-fetching what React does for the user interface rendering," said Tom Occhino, Facebook engineering manager, in an interview at this week's @scale conference in San Jose, Calif.

The technology, which also works with Facebook's React Native framework, makes it easier to build "performant," applications, Joseph Savona, Facebook engineer, said at the conference. "Relay batches queries together," he said.

By open-sourcing Relay and making it available to the community at large, Facebook engineers envision new possibilities, such as Relay being extended beyond working with only React technologies. "There's obviously going to be use cases that we don't anticipate but the community does anticipate," Savona said.

View: Article @ Source Site