|
|
|
|
|
by timdorr
3566 days ago
|
|
It's more that you can get the information about the state of the browser or server's URL down deep into the component tree and then more easily act on it (with a few components, rather than a larger case statement). It's basically idiomatic JS vs idiomatic React/JSX. |
|
Edit: To the idiomatic point. The first thing that struct me when using React, was that instead of having to use a custom Component for a for loop I could just use someArray.map(). I see this as a similar situation.