V
V
Verstatel30002019-07-04 14:26:49
React
Verstatel3000, 2019-07-04 14:26:49

Why does the component endlessly call componentDidMount?

good afternoon! please tell me noob)
in what cases can a component call the componentDidMount lifecycle method endlessly? when calling asynchronous action creators from it?
using react/react-redux

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kn1ght_t, 2019-07-04
@Verstatel3000

This means that the component drops out of the tree, you need to look at the parent component, something makes it not render under some conditions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question