これは
Reactのガイドを読んでいく記事です。
ガイドのリンク
ja.reactjs.org
テストユーティリティ
isCompositeComponent()
isCompositeComponent(instance)
instanceがクラスや関数のようなユーザ定義のコンポーネントだった場合trueを返す。
isCompositeComponentWithType()
isCompositeComponentWithType(
instance,
componentClass
)
instance がReactのcomponentClass 型のコンポーネントである場合trueを返す。
今日はここまで。