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
Slinky has the first one (covered by 2 overloads because of the optional propsAreEqual parameter) but not the second.
The one with MemoExoticComponent is important because it will pull out the props from the component otherwise you end up with a component taking another component.
The text was updated successfully, but these errors were encountered:
In the TS definitions there are 2 overloads for
React.memo
:Slinky has the first one (covered by 2 overloads because of the optional
propsAreEqual
parameter) but not the second.The one with
MemoExoticComponent
is important because it will pull out the props from the component otherwise you end up with a component taking another component.The text was updated successfully, but these errors were encountered: