That being said, (B) is probably harder to test because you have to mock useSelector in both children, instead of just passing them good ...
確定! 回上一頁