Workiva / react-dart

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

Ensure `forwardRef`'s `ReactJsComponentFactoryProxy` always uses List children #269

Closed joebingham-wk closed 4 years ago

joebingham-wk commented 4 years ago

Motivation

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

Changes