Skip to content

docs: add phased frontend architecture modernization plan - #369

Open
mrgeoffrich wants to merge 1 commit into
mainfrom
claude/react-practices-architecture-SMzVT
Open

docs: add phased frontend architecture modernization plan#369
mrgeoffrich wants to merge 1 commit into
mainfrom
claude/react-practices-architecture-SMzVT

Conversation

@mrgeoffrich

Copy link
Copy Markdown
Collaborator

Research the React frontend (desktop/frontend/src) and lay out a multi-phase
plan covering modern React practices, cross-cutting concerns, and decomposition
of the largest files.

Findings captured: App.tsx is a 1590-line god component (23 useState / 16
useEffect / 48 useCallback); polling, localStorage, and optimistic-update
patterns are hand-rolled in ~25 places; no state library, no Context, no
test framework (16 ad-hoc smoke tests not run in CI); api.ts (1485) and
api.http.ts (3289) duplicate ~48 DTOs with silent web-mode drift risk.

Plan phases: (0) test+lint foundation, (1) cross-cutting hooks, (2) tame the
api seam, (3) data/state layer to slim App, (4) decompose big views, (5)
consistency+hardening. Includes a 17-PR ticket breakdown.

https://claude.ai/code/session_01X891F89wtXc1bQo4iHXbwE

Research the React frontend (desktop/frontend/src) and lay out a multi-phase
plan covering modern React practices, cross-cutting concerns, and decomposition
of the largest files.

Findings captured: App.tsx is a 1590-line god component (23 useState / 16
useEffect / 48 useCallback); polling, localStorage, and optimistic-update
patterns are hand-rolled in ~25 places; no state library, no Context, no
test framework (16 ad-hoc smoke tests not run in CI); api.ts (1485) and
api.http.ts (3289) duplicate ~48 DTOs with silent web-mode drift risk.

Plan phases: (0) test+lint foundation, (1) cross-cutting hooks, (2) tame the
api seam, (3) data/state layer to slim App, (4) decompose big views, (5)
consistency+hardening. Includes a 17-PR ticket breakdown.

https://claude.ai/code/session_01X891F89wtXc1bQo4iHXbwE
@github-actions
github-actions Bot deleted the claude/react-practices-architecture-SMzVT branch July 6, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants