Mostafa Shaheydari
Results
2
comments of
Mostafa Shaheydari
You can use this working example (https://codesandbox.io/s/rl0xpx7k64). Best, Mostafa [](https://codesandbox.io/s/rl0xpx7k64)
Hi, I think we could rid of "magic string" and pass to `next` function another function like: ` const checking = () => { return 'route'; // or return -1...