dropthejase rips out Next.js for a leaner Vite build

A full frontend rewrite that bets the fork is staying single-page-app for good.

infrastructurechat-ui

dropthejase has swapped the fork's frontend framework wholesale - out goes Next.js, in comes Vite paired with React Router. The reasoning is pragmatic: this fork already ships as a single-page app served from cloud storage behind a CDN, so most of what Next.js offers was dead weight. Vite builds faster and deploys more simply against that setup.

The tradeoff is lock-in. Every page and every bit of routing was rewritten in one go, which makes the change hard to adopt piecemeal and almost guaranteed to clash with any future frontend work pulled from the upstream Mike project. A small follow-up commit patches a navigation bug around deleting the active chat.

It's a confident bet that this fork's deployment shape isn't changing.

So what Relevant if you're watching how forks diverge architecturally from upstream Mike - this one has just made re-syncing meaningfully harder.

View this fork on GitHub →

Spotted something wrong? Or know the PR text has fresher detail than the writeup above?

Commits in this thread

2 commits from dropthejase/louis, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
5802aa6f Migrate frontend from Next.js to Vite + React Router Jason Lee 2026-05-11 ↗ GitHub
commit body
- Replace Next.js App Router with react-router-dom v7 SPA routing
- Remove all 'use client' directives, next/navigation, next/link imports
- Replace useRouter/usePathname with useNavigate/useLocation
- Replace useSearchParams() call with [searchParams] destructuring
- Add Amplify <Authenticator> as root auth gate, remove custom login/signup pages
- Add AuthProvider inside Authenticator render in App.tsx
- Consolidate Amplify config (including Identity Pool) in lib/aws/config.ts
- Build AgentCore invocation URLs from ARNs at runtime
- Replace NEXT_PUBLIC_* env vars with VITE_* throughout
- Replace uploadData key param with path to avoid public/ prefix
- Add key={id} wrapper on AssistantChatPage for unmount/remount on route change
- Replace process.env.NEXT_PUBLIC_API_BASE_URL with API_URL from config
- Account page uses React Router nested routes for /account/models
- WorkflowPage migrated from next/dynamic to direct import
- TypeScript compiles clean, Vite build succeeds
7845ed46 Add delete-active-chat navigation and env example file Jason Lee 2026-05-11 ↗ GitHub
- SidebarChatItem navigates to /assistant when deleting the active chat
- Add .env.local.example with VITE_* variable names for Vite migration

Capture this thread into my fork

Download a single Markdown prompt that tells Claude how to port every commit above into your working tree — adapting paths and structure to match your repo. Run it via claude -p < capture-thread-343.md from inside the repo you want the changes in.

⬇ Download capture-thread-343.md