Ability to opt of of "No routes matched location" warnings #10850
Closed
AndrewLeedham
started this conversation in
Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In Remix I have implemented a custom express integration where 404's fall-through to other express middleware. This works great, however we get warnings that react-router does not match any routes, which is expected and an un-needed warning in our case.
It would be great if we could opt out of this warning firing:
react-router/packages/react-router/lib/hooks.tsx
Line 430 in 4b494b9
Also, as a side not in regular development one log is easy enough to ignore. But in e2e testing it floods the output.
Beta Was this translation helpful? Give feedback.
All reactions