It's a good question that I struggle with too. I try to separate UI from logic, but sometimes there is a tiny UI element that needs to be connected to the larger app like a dropdown that loads its options from redux.