This completely-not-production-ready "framework" example shows how to integrate React Router with custom bundling and server abstractions instead of using @react-router/dev
.
pnpm i
pnpm start
pnpm i
pnpm dev
I whipped this together REALLY quickly, it certainly has errors and could be more thorough, but I hope it helps!