Sebastian, I saw someone code they push data on firebase in this manner that's why I asked the question. That was a quiz app having a feature create and give quiz in creation of quiz may be they don't want data until encounter the completion of all questions.
Ah ok pushing data is also valid 😊. I would put this nonetheless in a redux action, but that’s a personal opinion. Putting this in a component is fine with the knowledge that this component itself is opinionated about it’s usage.