Company
Date Published
Author
Dan Reynolds
Word count
5646
Language
English
Hacker News points
None

Summary

The text discusses the implementation of data access patterns using Apollo Client in a React application. The authors, who previously used Redux, migrated to Apollo and explored how to effectively implement data access, filtering, and transformation on the client-side. They compared their previous approach with the new Apollo-based approach and discussed its benefits, such as improved performance and easier maintenance. The authors provided examples of how to use field policies in Apollo Client to manage access to client-side data, including composing multiple policies together, adding type safety, and testing these policies. They also touched on the performance implications of using field policies and demonstrated how they can be used to improve the overall performance of the application.