A
A
Afanasy Zakharov2018-09-05 13:21:58
React
Afanasy Zakharov, 2018-09-05 13:21:58

Does React have an event when everything that has changed in redux has been rendered?

Situation:
I call an action, because of which something changes in the editor.
Components associated with connect are updated.
is there any way to keep track of when all the changes i made to redux are rendered in order to run the saga?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivann72, 2018-09-18
@Ivann72

connect + componentDidUpdate
connect will give you an implementation of shouldComponentUpdate and fetch the new data

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question