File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,11 @@ CodexMonitor is a macOS Tauri app that orchestrates Codex agents across local wo
3838- ** Styles** : one CSS file per UI area in ` src/styles/ ` (no global refactors in components).
3939- ** Backend IPC** : add new commands in ` src-tauri/src/lib.rs ` and mirror them in the service.
4040- ** App-server protocol** : do not send any requests before ` initialize/initialized ` .
41+ - ** Keep ` src/App.tsx ` lean** :
42+ - Keep it to wiring: hook composition, top-level layout, and route/section assembly.
43+ - Move stateful logic/effects into hooks under ` src/features/app/hooks/ ` .
44+ - Keep Tauri IPC, menu listeners, and subscriptions out of ` src/App.tsx ` (use hooks/services).
45+ - If a block grows beyond ~ 60 lines or needs its own state/effects, extract it.
4146
4247## App-Server Flow
4348
You can’t perform that action at this time.
0 commit comments