geraldodev
is possible to combine next-minimal-starter with react-router-dom ?
in the context of the article , I've changed the rewrite to
async rewrites() {
return {
fallback: [
// Rewrite everything else to use
pages/index
{
source: '/:path*',
destination: '/',
},
],
} ;
},
so it does not interfere with trpc endpoint and and triggers for local routes that does not exist on the server when refresh is called on the browser.9 replies