Mostafa Shaheydari

Results 2 comments of Mostafa Shaheydari

You can use this working example (https://codesandbox.io/s/rl0xpx7k64). Best, Mostafa [![Edit rl0xpx7k64](https://codesandbox.io/static/img/play-codesandbox.svg)](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...