Only solution I could find so far is to pass down both cell and selectedCell and do the quality check inside of SubComponent.
cell
selectedCell
SubComponent