$ show ant-design/ant-design-pro
Ant Design Pro is an enterprise-grade React admin dashboard starter/template, not a data research repository. It provides a production-oriented SPA scaffold built on Umi Max 4, React 19, Ant Design 6, and ProComponents, with pre-built pages for authentication, dashboards, forms, lists, profiles, results, exceptions, account management, and an AI chatbot. The code is organized as a classic frontend application: `src/app.tsx` composes runtime configuration, `config/routes.ts` declares routing, pages are co-located with services, mock data, styles, and tests, and `src/services/` contains generated API client code. There is no real persistence; all data flows through mock handlers during development or through the bundled Cloudflare Worker backend in deployed demos.
The LLM identified 5 files worth highlighting for reuse:
A self-contained Hono application that mounts a complete REST-style mock API (user, dashboard, table, notices, geographic, list, profile, monitor routes) with CORS handling and error routes. It is isolated in its own package and can be extracted as a starter for any Cloudflare Workers API or as a production mock backend.
A React class component that catches render errors and specifically handles dynamic import failures from route-level code splitting, offering retry/reload UI. It is dependency-light and can be dropped into any React application to improve resilience during deployment and chunk loading.
A small connectivity-aware banner built on React's useSyncExternalStore hook. It monitors browser online/offline state in a framework-correct way and renders a dismissible notice. This is an easily extractable pattern for any React app needing offline or network-status UI.
A custom Webpack loader that imports markdown files as raw strings, enabling documentation and cheatsheets to be embedded directly into bundled output without runtime fetch calls. It is a self-contained utility that solves a recurring build problem and can be reused in any Webpack-based project.
A compound component in the style of Select/Option, exposing TagSelect and TagSelect.Option for multi-select tag filtering. It encapsulates expandable tag lists and selection state while remaining UI-only and loosely coupled, making it a reusable filtering primitive for list or dashboard pages.