geraldodev
geraldodev
TtRPC
Created by geraldodev on 4/22/2023 in #❓-help
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
TtRPC
Created by geraldodev on 4/22/2023 in #❓-help
is possible to combine next-minimal-starter with react-router-dom ?
I've commented and got rid of the error. Thank you @Nick Lucas
9 replies
TtRPC
Created by geraldodev on 4/22/2023 in #❓-help
is possible to combine next-minimal-starter with react-router-dom ?
async rewrites() { return [ // Rewrite everything else to use pages/index { source: '/:path*', destination: '/', }, ]; }, Could it be this rewrite rule causing this ?
9 replies