Closed vallemar closed 3 years ago
Hi, thanks for filing the issue. What does your createRouter
function look like? Also does the redirection happen at all, just without props or not at all? Do you get any info when launching ns debug android
in terminal?
I'm unable to reproduce this issue. In my setup props are passed correctly. Can you make a demo app with this issue reproduce? I will test it out then and push fix asap if needed.
@MattCCC I think it was my mistake, now I'm refactoring the code a lot and can't test it. I confirm when the refactor finishes. Thank you! and another thing, useRouter is sublime!
Sure, no worries. I gave it a few more tries but seems to be working just fine so far. Edit/ let me know once u test it pls, thanks 👍
Also, one more thing, may be a stupid question but do you register prop inside of your Login
The problem was that I was in a tabbed view, and I had put the props on the first tab. She had not realized that the page was the father. Sorry!!!!
Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
Please, tell us how to recreate the issue in as much detail as possible.
I am trying to pass props to a page and it is not working for me. I have tried it like this:
and so
I have also set props to true in the routes just in case