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
Utilize the alwaysReturnChildrenAsList flag on ReactJsComponentFactoryProxy to ensure children are always wrapped in a List
Motivation
While adding onto the
forwardRef
API in OverReact, it was discovered that consumingprops.children
in theforwardRef
HOC threw a type error because the children weren't guaranteed to be a List as expected.Changes
alwaysReturnChildrenAsList
flag onReactJsComponentFactoryProxy
to ensure children are always wrapped in a List