M
M
Memory Clutter2017-04-05 13:58:30
JavaScript
Memory Clutter, 2017-04-05 13:58:30

What does Redux bring to an Angular2 application?

I was mainly engaged in backend and didn’t really climb into the world of frontend, but I followed the news a little. And then I heard about the flux approach and the Redux library. Which it turns out can also be used with Angular 2/4. Please explain what is the benefit of using Redux and Angular2.
I apologize in advance for the incorrectly formulated question and in no way do I want to criticize this or that technology.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Deodatuss, 2017-04-06
@Deodatuss

Yes, exactly the same as in React. The state of the entire application is stored in one place and changed by certain actions. This greatly simplifies development and improves the search for a bug, because the data is transferred in one direction and from one place. + this makes it possible to serialize the state of the application to the same localstorage and restore it when you re-enter the page.

K
kodwi, 2017-04-05
@kodwi

As far as I know, Redux is mostly used with React. Since Angular 2/4 RxJS is used.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question