- Create FeatureRoute.tsx wrapper component for route-level feature gating - Add FEATURE_KEYS constant map to demoMode.ts for type-safe feature references - Wrap 47 feature-specific routes with <FeatureRoute> in App.tsx - Core routes (dashboard, billing, pricing, auth callbacks) remain ungated - Disabled features redirect to /dashboard and never load their lazy chunks - Main bundle: +259 bytes (FeatureRoute is a lightweight component) Closes Phase 1 Plan 01-02
20 KiB
20 KiB