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.
- memoize-state does not properly work with async stuff, concreting usage just after a function call.
- Possible double rendering.