Company
Date Published
Author
James Baxley III
Word count
927
Language
English
Hacker News points
None

Summary

The React Apollo team has released version 2.1 of their GraphQL client, featuring a new `Query` component that brings data into the render function in a flexible and efficient way, making it easier to compose multiple operations and update state without passing down props. This design was driven by real-world needs of the community, with contributions from many developers, including Kevin Ross, Dirk-Jan Rutten, Leonardo A Garcia C, and Jason Miller. The new component also supports Preact for server-side rendering and has improved TypeScript support, including parameterized types that enable full typing and checking. The team is now in beta phase and invites feedback on the new release, which should work out of the box with no breaking changes.