Company
Date Published
Author
Sashko Stubailo
Word count
3189
Language
English
Hacker News points
None

Summary

Sashko Stubailo explores GraphQL Relay Modern, a redesigned version of the client framework that aims to simplify its interface while maintaining performance and modularity. The new version builds upon Relay Classic's modular data fetching approach but introduces significant changes, including static and persist-able queries, simpler mutations, and a view-agnostic runtime. The author reflects on the benefits of these changes, including improved validation, persisting, and build-time transformation and optimization. A simple example app demonstrates how to try out Relay Modern, and the author encourages feedback and contributions to improve the library.