Facebook has reconstructed its Relay JavaScript framework for building data-driven applications for easier use.

Renamed Relay Modern, the updated framework features a GraphQL framework incorporating best practices from classic Relay, Facebook’s native mobile GraphQL clients, and the GraphQL community, Facebook software engineers Lee Byron and Joe Savona said this week.

“Relay Modern retains the best parts of Relay—co-located data and view definitions, declarative data fetching—while also simplifying the API, adding features, improving performance, and reducing the size of the framework,” the engineers said. “To accomplish this, we embraced two concepts: static queries and ahead-of-time optimization.”

To read this article in full or to leave a comment, please click here