-
Notifications
You must be signed in to change notification settings - Fork 37
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
navigation and enhancers #21
Comments
Works like that!
|
@quarkcore you should read my book 😀 there's a whole chapter on routing. Anway... this is how I do routing: URL bundle + Route bundle: Then this one helper at the root of your component tree: https://github.com/HenrikJoreteg/redux-bundler-example/blob/master/src/components/layout.js#L17 this makes it so you don't need any special "link" tags or anything just render regular Then I use Anywhere you need route params you can just use |
We just hit the same issue. We have to do hash-based routing (our app may not be mounted at the root of the domain) and are trying to figure out how best to get it working with redux-bundler. We could sprinkle hash based routes all over the code, but we thought we'd try mixing it with react-router first to see if that could work. Neither approach seems ideal. |
We got hash based routing working the redux-bundler way by parameterising the routeInfo selector in create-route-bundle... #23 |
@HenrikJoreteg hi, which kind of navigation u are unsing? i try to add
react-router
withreact-router-redux
but have some trouble.ther for i need to add some middleware but applayMiddleware() of your package does not working as expected.
any idea?
The text was updated successfully, but these errors were encountered: