News for hackers. Stuff that matters.
Re:What's New in Create React App by jmkni on Friday May 19, 2017 @09:17AM (#14375281)
This sounds really good.

Quick question, does it include an option for client side routing?

I really want to start using React, but every time I get overwhelmed by the sheer amount of options (paralysis analysis) and go back to AngularJS (which is starting to show it's age). Personally I'm not sold on Angular2/4.

Cheers

Re:What's New in Create React App by kotojo on Friday May 19, 2017 @09:54AM (#14375622)
They don't load a routing solution with this, but the most used router (and my favorite) is React-Router [0]. To get basic routing setup takes less than an hour, and has great docs.

[0]: https://reacttraining.com/react-router

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?
Re:What's New in Create React App by celim307 on Friday May 19, 2017 @10:34AM (#14376002)
for v4 I feel like the docs aren't all the way there. especially example wise
Re:What's New in Create React App by ergo14 on Friday May 19, 2017 @10:28AM (#14375956)
I used UI-Router with react - works like a charm.
Re:What's New in Create React App by jmkni on Friday May 19, 2017 @10:50AM (#14376168)
I've used UI Router extensively with Angular, I really like it.
Re:What's New in Create React App by ergo14 on Friday May 19, 2017 @11:23AM (#14376550)
I like it too, Chris did an awesome job - just recently made a wrapper for Polymer with his help.
Re:What's New in Create React App by whitefish on Friday May 19, 2017 @10:14AM (#14375819)
If you want to go with MVC use this: https://github.com/Rajeev-K/mvc-router