You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yx9o (via GitHub)" <gi...@apache.org> on 2026/08/02 11:50:03 UTC

[PR] [Studio] feat: support route-level lazy loading [rocketmq-dashboard]

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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Studio] feat: support route-level lazy loading [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins merged PR #764:
URL: https://github.com/apache/rocketmq-dashboard/pull/764


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org