Gravity UI DataSource wiring and app data-layer helpers.
One of the two data-fetching systems in the app (the other is TanStack Query). It provides the
shared dataManager and query factories built on Gravity UI DataSource, plus loader components.
See data-layer.md for when to use which system.
From src/index.ts:
dataManager— the shared DataSource manager (exposed viaDataManagerContext).makePlainQuery,makeInfiniteQuery— query factories.DataLoader,DataInfiniteLoader— loader components.getNextPageToken— pagination helper.
@languages-learner/api— the SDK it fetches through.@languages-learner/class-names— class helpers for its components.@languages-learner/uikit— UI pieces used by the loaders.
apps/web.
- Before adding a fetch in a slice, check whether that slice already uses this system or TanStack Query, and don't mix them without a reason — data-layer.md.
- Scripts and how to run: README
- Data layer: docs/architecture/data-layer.md