| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | refactor(services, types): reorganize GraphQL fetchers and data types | Armand Philippot | 2023-11-27 | 2 | -10/+16 |
| | | | | | | | | | | | | | The Typescript mapped types was useful for autocompletion in fetchers but their are harder to maintain. I think it's better to keep each query close to its fetcher to have a better understanding of the fetched data. So I: * colocate queries with their own fetcher * colocate mutations with their own mutator * remove Typescript mapped types for queries and mutations * move data convertors inside graphql services * rename most of data types and fetchers | ||||
| * | refactor(hooks): rewrite usePagination hook | Armand Philippot | 2023-11-13 | 3 | -0/+233 |
| * replace `isLoadingInitialData` with `isLoading` & `isRefreshing` * rename `fallbackData` prop to `fallback` * replace `setSize` return with a `loadMore` callback * add tests | |||||
