Workiva / react-dart

Dart Bindings for React JS
BSD 2-Clause "Simplified" License
412 stars 67 forks source link

Update memo signature #268

Closed smaifullerton-wk closed 4 years ago

smaifullerton-wk commented 4 years ago

Updates the memo signature to accept a ReactDartFunctionComponentFactoryProxy directly, since only function components can be memoized.

Also removes the displayName property as it is not part of React's memo, and should be set by the function component config instead.