luisfcofv/react-native-deep-linking

Best practice for catch all route?

antonmyrberg opened this issue · 1 comments

Hi, thanks for your efforts with this repo.
Seem really solid!

If I want to catch all routes, especially those that doesn't match specified routes, what's the best way to go about it?

Thanks in advance, Anton

Hi @antonmyrberg, thank you!

In that case, I would create a regex to do it. At the moment, routes only support to match specified routes, not ignore them. A regex will do the trick.

Cheers!