make `shouldRecomposite` 'private' as `_shouldRecomposite`