You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
toContainReact looks like an irrelevant name to me.
An instance of a component <MyComponent /> (as opposed to the component itself function MyComponent() {}) according to React core team blog should be called Element. So the name could be toContainElement, but there is already toContainMatchingElement, so it will look confusing.
Anyway, toContainReact doesn't look like an appropriate name, let's come up with a better one. Maybe toContainComponentInstance.
The text was updated successfully, but these errors were encountered:
toContainReact
looks like an irrelevant name to me.An instance of a component
<MyComponent />
(as opposed to the component itselffunction MyComponent() {}
) according to React core team blog should be called Element. So the name could betoContainElement
, but there is alreadytoContainMatchingElement
, so it will look confusing.Anyway,
toContainReact
doesn't look like an appropriate name, let's come up with a better one. MaybetoContainComponentInstance
.The text was updated successfully, but these errors were encountered: