Closed smaifullerton-wk closed 4 years ago
Updates the memo signature to accept a ReactDartFunctionComponentFactoryProxy directly, since only function components can be memoized.
memo
ReactDartFunctionComponentFactoryProxy
Also removes the displayName property as it is not part of React's memo, and should be set by the function component config instead.
displayName
Updates the
memo
signature to accept aReactDartFunctionComponentFactoryProxy
directly, since only function components can be memoized.Also removes the
displayName
property as it is not part of React'smemo
, and should be set by the function component config instead.