Open theKashey opened 6 years ago
Use componentDidUpdate instead of getDerivedStateFromProps to run side-effects?
Currently, one could use selector/flow-step with side-effect, and have to defer any state change he could execute inside, leading to 2 problems.
Use componentDidUpdate instead of getDerivedStateFromProps to run side-effects?
Currently, one could use selector/flow-step with side-effect, and have to defer any state change he could execute inside, leading to 2 problems.