-
Notifications
You must be signed in to change notification settings - Fork 67
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 use react router in dart? #254
Comments
@wuquanyao you would have to write a JS interop for it. |
@aaronlademann-wf it might be a bit late for you, but I have successfully implemented React Router with this library which I will document here for anyone else who needs this info.
|
@barriehadfield have you published your library to pub? |
Hi @aaronlademann-wf - the solution does not warrant a library as it is as simple as stated above. Your wonderful library made it really easy. I would be more than happy to add to your example collection and issue a PR if that would be useful? |
I'll leave it up to you if you want to contribute an example. As far as |
OK great. I will wait for your new release and issue a PR thereafter to avoid any potential merge conflicts. The examples were instrumental in getting me started, so I think having ReactRouter covered would be good. webpev_proxy is key! Thank you @evanweible-wf |
If anyone else comes across this issue, I have created a library which includes the bindings that @barriehadfield created as well as the built js code to include in the codebase. Repo can be found here: https://github.com/matthewnitschke/react_router_dart The library includes bindings for both react-dart and over_react |
Help!!! How to use router in react-dart?
The text was updated successfully, but these errors were encountered: