You can now try Facebook’s Relay data-fetching framework in your own apps

Facebook Relay

Facebook has made a technical preview of its Relay framework open source and available on GitHub today, so developers can try it in their own projects.

First announced in January, Relay adds declarative, component-oriented data-fetching functionality to apps built using Facebook’s React.js user interface library.

According to Facebook, Relay “coalesces queries into batches for efficiency, manages error-prone asynchronous logic, caches data for performance, and automatically updates views as data changes.” The company has demonstrated how it can be used for crafting components like news feeds.

Relay’s first public release includes its core framework modified for use outside of Facebook’s development environment. The company says it’s working to add more features, include offline support and real-time updates.

➤ Relay

Read next: Facebook has released the latest beta of its React.js user interface library

Read next: Ukrainian hackers helped stock traders make $100m with stolen press releases