Architecture note
Angular RxJS Data-Access Patterns
RxJS is useful for cancellation, debounce, retry, refresh triggers, error mapping, and shared read-only workflow streams. Components should render state and emit user intent rather than owning scattered HTTP calls. Data-access stores should expose readonly streams and controlled methods.
- Verification
- Current Architecture Work
- Last reviewed
- 2026-06-05T00:00:00Z
- Search policy
- Review-only; excluded from search indexes
Purpose
Define where RxJS belongs in the Angular data-access example.
Safe claims
- RxJS is useful for cancellation, debounce, retry, refresh triggers, error mapping, and shared read-only workflow streams.
- Components should render state and emit user intent rather than owning scattered HTTP calls.
- Data-access stores should expose readonly streams and controlled methods.
Reviewer guardrails
- Not every local UI flag needs RxJS.
- Use this store as a current Angular/RxJS architecture pattern; each public project keeps its own technology context.
Related source files
examples/angular22-rxjs-enterprise/src/app/features/publication-review/data-access/publication-review.store.tsexamples/angular22-rxjs-enterprise/src/app/core/http/api-client.ts