D
D
Dima Zherebko2016-05-22 20:30:44
JavaScript
Dima Zherebko, 2016-05-22 20:30:44

When should you use React+Redux?

In what cases should you use the react+redux+react-router bundle, when is it just react, and when can you get by with standard tools?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav Khvostov, 2016-05-23
@vlakhvo

If you write one component, only react is enough, when you write two or more components, it will be more convenient to use redux to exchange data between these components. react-router is needed if you are building a web application and do not want to update the entire page when the user clicks on a link. (and just change the content of the page js'om). You can get by with standard tools for debugging in the console =)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question