Has anyone done this recently? I see that around Sept of 2014 it switched from director to react-router and now it's on react-routing. There doesn't seem to be a lot of documentation around that, furthermore, most people seem to be using react-router instead.
Is anyone else in the same boat I am? I'd rather use something that has a bit more community around it if possible.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
+1. Same concern here.
So far reat-routing has been working ok for me, but I'm thinking on refactor to react-router every time I need something and cannot find any doc.
+1
+1
+1
+1
@koistya, react-router will be supported soon?
I wonder about the ready tag
+1
+1. react-router appears to be a much more mature project
+1
@leonprou ready means that it's on a to-do list (what's coming next).
Have anybody tried replacing the routing information inside the src/routes.js file with routes in RR format + modify the server-side rendering logic in src/server.js (here)? Maybe you can share your fork with work-in progress and we can collaboratively fix the remaining issues for that integration if any.
I haven't started on it but I had plans on looking into this week. I was looking at going the same direction you mentioned.
I started to look into this, but I wanted to share this incase someone else attempts to pick this up.
I believe the lazy routes will be a better win for this project.
https://medium.com/@ryanflorence/welcome-to-future-of-web-application-delivery-9750b7564d9f#.ibtn2fxh3
@kwelch +1 lazy routes is awesome, but i have no idea how to use them with altjs or flux
Agreed. It has slowed my ability to wrap this convert up.
+1 react-router
+1
+1
@kwelch did you start to work on that? I could try to handle it too.
I did but haven't gotten far enough for someone to leverage it. Feel free
to start tackling it.
On Sat, Jan 16, 2016, 10:46 AM Philip Daineka [email protected]
wrote:
@kwelch https://github.com/kwelch did you start work on that? I could
try to handle it too.—
Reply to this email directly or view it on GitHub
https://github.com/kriasoft/react-starter-kit/issues/345#issuecomment-172226045
.
Cool! Thanks for response, Then I'll provide a fork for review in next days.
Philip Daineka,
flatlogic.com
On Sun, Jan 17, 2016 at 4:17 PM, Kyle Welch [email protected]
wrote:
I did but haven't gotten far enough for someone to leverage it. Feel free
to start tackling it.On Sat, Jan 16, 2016, 10:46 AM Philip Daineka [email protected]
wrote:@kwelch https://github.com/kwelch did you start work on that? I could
try to handle it too.—
Reply to this email directly or view it on GitHub
<
https://github.com/kriasoft/react-starter-kit/issues/345#issuecomment-172226045.
—
Reply to this email directly or view it on GitHub
https://github.com/kriasoft/react-starter-kit/issues/345#issuecomment-172324998
.
Hi everyone,
I have just finished with the basic integration of react-router. PR is not ready yet as the code is still in progress https://github.com/flatlogic/react-starter-kit/commit/c31ab4f1e59271eea7ea9a41ead8f1cb5653f79d.
Open questions:
Warning: React attempted to reuse markup in a container but the checksum was invalid. This generally means that you are using server rendering and the markup generated on the server was not what the client was expecting. React injected new markup to compensate which works but you have lost many of the benefits of server rendering. Instead, figure out why the markup being generated is different on the client or server:
(client) <noscript data-reacti
(server) <div data-reactid=".s
This seems to be connected with react/react-router lifecycles; react checks for markup consistence before react-router markup is ready
Any feedback appreciated
+1
+1
+1
+1
+1
+1
+1
:D
+1
I'm sorry to all of you. This is very old issue. We have universal router now. Can anyone create pull request with React-router? I promise I will maintain it as feature for some time, then we can create some comparison of pros and cons against universal-router.
@langpavel / @koistya - Not sure why this issue was closed but just submitted a PR that integrates react-router with this starter kit. Look forward to hearing your thoughts.
Most helpful comment
@langpavel / @koistya - Not sure why this issue was closed but just submitted a PR that integrates react-router with this starter kit. Look forward to hearing your thoughts.