javascript - What are the advantages of using Redux over React? -
reading this article wonder: advantages of using redux on react? used redux keep state of application. reading article, can exchange state (between components) of application react easy redux.
what advantages of using redux oder react then?
i guess using redux with react, not over react. react view library, , redux helps manage state of application. if building huge application, going increasingly difficult manage state throughout components, if using solely react.
however, in smaller applications few modules react should sufficient , redux might overkill. depends on use case.
i recommend read when should use redux, said on faq of redux docs. http://redux.js.org/docs/faq/general.html#general-when-to-use
as dan abramov (creator of redux) said - i amend this: don't use redux until have problems vanilla react.
Comments
Post a Comment