T
T
Tema Agaev2019-07-02 14:38:32
redux
Tema Agaev, 2019-07-02 14:38:32

Is it possible to make a cleartimeout in a reducer?

Is it possible to make a cleartimeout in a reducer? Or is it better in actions?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Spirin, 2019-07-02
@JustHappyGuest

It is better to clean where you ask it. There shouldn't be any side effects in the reducer.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question