News for hackers. Stuff that matters.
Re:What's New in Create React App by idbehold on Friday May 19, 2017 @11:14AM (#14376464)
If you're using redux I would recommend you stay far away from react-router. Using redux-little-router has been a pleasure to use in comparison: https://github.com/FormidableLabs/redux-little-router
Re:What's New in Create React App by mhink on Friday May 19, 2017 @04:00PM (#14378907)
(Disclaimer: I work at Formidable)

Can confirm, I absolutely love `redux-little-router`. It feels so natural to dispatch Redux actions to change routes rather than dealing with the song and dance of conditionally rendering <Redirect /> components or trying to figure out when in the lifecycle to call `router.push(url)`.

I especially like pairing it with `redux-saga`- with a little bit of effort, you can end up writing mini-applications for each route which start and stop as the user navigates.

Re:What's New in Create React App by elzi on Friday May 26, 2017 @12:47PM (#14425417)
Any example repos of this? This sounds fantastic.
Re:What's New in Create React App by elzi on Friday May 19, 2017 @12:33PM (#14377223)
Damn, this does look great. A lot of what it does can be solved by using `withRouter` from react-router, but I really like how they use `<Fragment />`
Re:What's New in Create React App by arrowoode on Saturday May 20, 2017 @12:56PM (#14383229)
Do I need to eject my create-react-app to use Redux and Redux-Little-Router?