-
Notifications
You must be signed in to change notification settings - Fork 129
Navigation routing changes can not change page changes of react. #54
Comments
Apologies for the very very slow response. Could you help me understand what you are describing? Are you saying that navigating between https://single-spa.surge.sh/react/course/0 and https://single-spa.surge.sh/react/course/0/assignments doesn't work? |
@joeldenning I think he was thinking about that if you navigate to https://single-spa.surge.sh/react/course/0/assignments then click on nav bar's react button it changes the url but does not change the page |
@joeldenning Same issue. When the page was in /react/calendar, The same with “/angularjs/gifs” and “/angularjs/lorem-ipsum”. |
any progress with this issue? |
The issue isn't really a single-spa issue; it's more of a react router / angular router issue. Since all The problem is that there isn't a clean way for anyone to listen to changes on It does look like if we upgraded react router to v4 then there would be a way to listen to events that happen on window's history (see the second answer), so it's something to look into doing to make that work in this example. But in the end, it's not really a single-spa issue -- it's more of a router issue from what I can tell. As a side note, it's actually pretty easy to listen to hashChanges, so that's another thing to consider. (In other words, it's quite a bit easier to use hash routing since it's much easier to listen to hash changes) |
最终我还是解决了这个问题,
In the end, I solved this problem.
|
Navigation routing changes can not change page changes of react.
导航的路由跳转不能改变react的页面跳转
The text was updated successfully, but these errors were encountered: