Using recompose to make stateless, functional components work well with react-router 4.x
Leath Cooper
121

Hi,

While the library is interesting, I don’t get how the example works in its favor. The Home component is supposed to be stateless right? Well, it’s not: it displays a status of success or failure. In my book, that’s state, no?

Even if it’s in props, it’s conceptually state. It’s better to make sense, than to stick rigidly to the stateless mantra.

Show your support

Clapping shows how much you appreciated Vlad Fratila’s story.