Typescript issues with file based routing
any idea why
router: typeof router would throw
3 Replies
correct-apricot•2y ago
Will need to see a minimal reproduction of this.
From the error message, it seems like the router is having a collision with something, elsewhere in the repository.
But its really hard to tell without seeing a minimal reproduction of whats going on.
yelping-magentaOP•2y ago
I switched over to file based routing and it went away... been noticing more issues outside of file based routing
correct-apricot•2y ago
It's why we push file-based routing.
They both use the same primitives, but people always mess up the configuration when doing the code-based approach.