Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to send params to other pages? #61

Open
AsaYao opened this issue Dec 14, 2018 · 3 comments
Open

How to send params to other pages? #61

AsaYao opened this issue Dec 14, 2018 · 3 comments

Comments

@AsaYao
Copy link

AsaYao commented Dec 14, 2018

Hello,
How to send params to other pages?
image
Is only use history? or have other options..it seems no methods.

@alisd23
Copy link
Collaborator

alisd23 commented Dec 16, 2018

I don't quite understand the question. Do you mean query parameters, e.g param=somevalue in: www.website.com?param=somevalue?

@AsaYao
Copy link
Author

AsaYao commented Dec 17, 2018

I mean react-router v4 that expose the api about send the param to others pages by 'withrouter' or 'Context'.
So i want use 'mobx-react-router' to send param to other pages, but i found it have some function like 'go','goback',push, but they received one param, it have a function like 'push([otherpage],[params])'?

@entrptaher
Copy link

entrptaher commented May 22, 2019

Yes this library is missing match and computedMatch which has params.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants