feat: update docs for token efficient usage
Some checks failed
Deploy to Staging / Build Images (push) Has started running
Deploy to Staging / Deploy to Staging (push) Has been cancelled
Deploy to Staging / Verify Staging (push) Has been cancelled
Deploy to Staging / Notify Staging Ready (push) Has been cancelled
Deploy to Staging / Notify Staging Failure (push) Has been cancelled

This commit is contained in:
Eric Gullickson
2026-01-03 11:59:47 -06:00
parent 3dd86c37ff
commit b933329539
19 changed files with 333 additions and 71 deletions

View File

@@ -0,0 +1,17 @@
# frontend/src/core/
## Subdirectories
| Directory | What | When to read |
| --------- | ---- | ------------ |
| `api/` | API client and request handling | HTTP calls, error handling |
| `auth/` | Auth0 provider and auth hooks | Authentication setup, user context |
| `config/` | Runtime configuration | Environment-specific settings |
| `debug/` | Debug utilities | Development helpers |
| `error-boundaries/` | React error boundaries | Error handling UI |
| `hooks/` | Shared React hooks | Reusable hook patterns |
| `query/` | React Query configuration | Server state management |
| `store/` | Zustand state management | Client state, global stores |
| `sync/` | Data synchronization | Offline support, sync logic |
| `units/` | Unit conversion utilities | Measurement formatting |
| `utils/` | General utilities | Helper functions |