{"repo":"nkzw-tech/fate","free":true,"listed":false,"github":"https://github.com/nkzw-tech/fate","clone":"git clone https://github.com/nkzw-tech/fate.git","description":"fate is a modern data client for React.","language":"TypeScript","stars":1067,"topics":["async","data","react"],"license":"MIT","category":"ui-components","readme_excerpt":"fate is a modern data client for React inspired by Relay and GraphQL. It combines view composition, normalized caching, data masking, Async React features, and type-safe data fetching. Features - View Composition: Components declare their data requirements using co-located \"views\". Views are composed into a single request per screen, minimizing network requests and eliminating waterfalls. - Normalized Cache: fate maintains a normalized cache for all fetched data. This enables efficient data updates through actions and mutations and avoids stale or duplicated data. - Data Masking & Strict Selection: fate enforces strict data selection for each view, and masks (hides) data that components did not request. This prevents accidental coupling between components and reduces overfetching. - Async React: fate uses modern Async React features like Actions, Suspense, and use to support concurrent rendering and enable a seamless user experience. - Lists & Pagination: fate provides built-in support for connection-style lists with cursor-based pagination, making it easy to implement infinite scrolling and \"load-more\" functionality. - Optimistic Updates: fate supports declarative optimistic updates for mutations, allowing the UI to update immediately while the server request is in-flight. If the request fails, the cache and its associated views are rolled back to their previous state. - Live Views: fate can keep individual view refs up to date through a single native Server-Sent Events stre","default_branch":null,"files":null,"tree":[],"storefront":"/r/nkzw-tech","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nkzw-tech/fate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}