11 lines
750 B
Markdown
11 lines
750 B
Markdown
# Architecture & Layering
|
|
|
|
> Audit library doc. Findings come from reading source files — never from README/docs.
|
|
> Each pattern is one `### [slug] Title` entry (written via `audit.sh finding`), with an exemplar file.
|
|
> Further files that repeat a known pattern are logged with `audit.sh also`, not re-described.
|
|
|
|
**Scope:** Overall shape: rendering model, layers, boundaries, data flow.
|
|
|
|
**Look for:** SPA vs SSR/SSG/ISR vs islands; client/server boundary (`use client`, server components, loaders); layering (UI → hooks/stores → services/API clients → backend → DB); domain types vs DTOs; where business logic lives; shared packages; unidirectional data flow; layer violations (components calling DB, fetch scattered in UI).
|
|
|
|
## Findings
|