K
K
kidar22019-04-15 17:37:00
React
kidar2, 2019-04-15 17:37:00

Why does a regular CRUD application need redux?

Are there any scenarios in this type of application where redux might be needed?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Laud, 2019-04-15
@kidar2

As in any other application - when one data is needed in several places.

A
Anton Spirin, 2019-04-15
@rockon404

You are asking the wrong question. Correct like this:
Answer.

M
McBernar, 2019-04-15
@McBernar

Well, for example, you have a label of new messages. And in order not to bomb the server every time when moving through the screens, the state of this nameplate is stored in the store and lives its own life (polls the server according to its own rules, without regard to transitions).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question