refactor: replace repeated lazy page wrappers with lazyPage helper (#131) #132

Merged
codex-bot merged 1 commits from refactor/131-lazy-page-routes into develop 2026-11-02 07:31:26 +03:00
Owner

Summary

16 одинаковых lazy(async () => { const { X } = await import(...); return { default: X }; }) в AppRoutes.tsx заменены локальным хелпером lazyPage(load, name).

Linked Issue

Closes #131

Changes

  • src/app/routes/AppRoutes/AppRoutes.tsx: +30 / −96. Имя страницы типизировано против exports модуля (опечатка ловится tsc, проверено). Маршруты, guards и fallback не изменены.

Verification

  • npm run verify — exit 0 (74 test files, knip, depcruise, vite build, storybook build).
  • vite build: 57 JS chunks до и после — code splitting сохранён.

Breaking Changes

Нет.

## Summary 16 одинаковых `lazy(async () => { const { X } = await import(...); return { default: X }; })` в `AppRoutes.tsx` заменены локальным хелпером `lazyPage(load, name)`. ## Linked Issue Closes #131 ## Changes - `src/app/routes/AppRoutes/AppRoutes.tsx`: +30 / −96. Имя страницы типизировано против exports модуля (опечатка ловится `tsc`, проверено). Маршруты, guards и fallback не изменены. ## Verification - `npm run verify` — exit 0 (74 test files, knip, depcruise, vite build, storybook build). - `vite build`: 57 JS chunks до и после — code splitting сохранён. ## Breaking Changes Нет.
codex-bot added the Kind/Refactor label 2026-11-02 07:16:05 +03:00
codex-bot added 1 commit 2026-11-02 07:16:05 +03:00
refactor: replace repeated lazy page wrappers with lazyPage helper (#131)
Frontend verify / commits (pull_request) Successful in 29s
Frontend verify / security (pull_request) Successful in 11s
Frontend verify / verify (pull_request) Successful in 5m29s
acf11fd82e
codex-bot merged commit 71fbe7774d into develop 2026-11-02 07:31:26 +03:00
codex-bot deleted branch refactor/131-lazy-page-routes 2026-11-02 07:31:26 +03:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: WealthLedger/frontend#132