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

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -