yx9o opened a new pull request, #764:
URL: https://github.com/apache/rocketmq-dashboard/pull/764

   ## What is the purpose of the change
   
   The frontend currently loads all protected business pages in the initial 
JavaScript bundle, increasing the initial download and parsing cost.
   
   This change introduces route-level lazy loading while keeping the login page 
and main layout eagerly loaded.
   
   ## Brief changelog
   
   - Load protected business pages on demand with React lazy loading
   - Add an accessible and localized loading fallback
   - Add regression coverage for deferred route loading
   - Reduce the main bundle from 2,173.75 kB to 970.23 kB
   
   ## Verifying this change
   
   - Run `npm test -- --maxWorkers=1 --no-file-parallelism`
   - Run `npm run build`
   - Run `npm run lint`
   - Run `npx prettier --check src/App.tsx src/App.test.tsx`
   - Verify `/`, `/instance`, `/cluster`, `/ops/alerts`, `/ai`, and `/settings` 
render correctly


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to