Workiva / react-dart

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

Ensure `memo`'s `ReactJsComponentFactoryProxy` always uses List children #272

Closed joebingham-wk closed 4 years ago

joebingham-wk commented 4 years ago

Motivation

While adding onto the memo API in OverReact, it was discovered that consuming props.children in the memo HOC threw a type error because the children weren't guaranteed to be a List as expected.

Changes