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
Utilize the alwaysReturnChildrenAsList flag on ReactJsComponentFactoryProxy to ensure children are always wrapped in a List
Motivation
While adding onto the
memo
API in OverReact, it was discovered that consumingprops.children
in thememo
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