react-redux-starter-kit icon indicating copy to clipboard operation
react-redux-starter-kit copied to clipboard

Upgrade to react-router 4.0 and react-router-redux v5.0?

Open Vandivier opened this issue 7 years ago • 12 comments

react-router-redux v5.0 is now added to the react-router repo. That makes it the new standard for redux apps and this is the perfect boilerplate repo for it. Dependency on react-router v4.0.

Vandivier avatar Apr 09 '17 16:04 Vandivier

I can rewrite the code in RR4 + RRR5 if the repo owners are interested.

Dehorser avatar May 17 '17 20:05 Dehorser

To be honest I'm not a huge fan of React Router 4.0 yet, so I'm wary of upgrading, but will consider it if I can get some heads down time with the new version.

dvdzkwsk avatar May 17 '17 20:05 dvdzkwsk

Any updates on this yet?

pimvanderheijden avatar Jun 07 '17 18:06 pimvanderheijden

I'm loving react-router 4, so much easier to create route-specific rendering in different areas of the page. Though I'll admit it seems at odds with the way this repo implements per-route async module loading

bman654 avatar Jun 09 '17 13:06 bman654

Hi, I used react-router-starter-kit for production. I love it so I tried implement react-router 4 with react-router-redux 5 using create-react-app. react-redux-quickstart

chin-phang avatar Sep 05 '17 21:09 chin-phang

+1...we are upgrading to v4 on our 2nd project based off of this repo. Is there a paypal link somewhere that I can contribute some $ to get this done quickly?

clearly avatar Oct 31 '17 02:10 clearly

Hello @bman654, sorry for asking a long time after you commented,

How do you deal with async redux reducers with react router 4?

amangeot avatar Dec 06 '17 18:12 amangeot

@amangeot I don't use async module loading so I just removed all of that code as part of moving to router 4.

bman654 avatar Dec 06 '17 19:12 bman654

Oh ok, thank you for the quick reply.

Did you also remove async components? If not, how do you deal with non-blocking transition from one route to another? To replace the behaviour that came from getComponent?

amangeot avatar Dec 07 '17 08:12 amangeot

yes that is what I meant by not using async module loading - I load all of my components at the start of the app. Check out async-react-components for a way to load your components asynchronously with Router 4.

bman654 avatar Dec 07 '17 13:12 bman654

when?

kodermax avatar Dec 20 '17 18:12 kodermax

News on this?

tommyalvarez avatar Mar 27 '18 15:03 tommyalvarez