You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using multiple spread operators to give props to a component does not work. If there is multiple spread operators, only the last one is taken into account.
Example: <FooBar><BarFoo {...magics} {...foobars} {...props}/></FooBar>
transpiles to createComponentVNode(2, FooBar, { "children": normalizeProps(createComponentVNode(2, BarFoo, __assign({}, props))) });
when expected output would be createComponentVNode(2, FooBar, { "children": normalizeProps(createComponentVNode(2, BarFoo, __assign({}, magics, foobars, props))) });
The text was updated successfully, but these errors were encountered:
Using multiple spread operators to give props to a component does not work. If there is multiple spread operators, only the last one is taken into account.
Example:
<FooBar><BarFoo {...magics} {...foobars} {...props}/></FooBar>
transpiles to
createComponentVNode(2, FooBar, { "children": normalizeProps(createComponentVNode(2, BarFoo, __assign({}, props))) });
when expected output would be
createComponentVNode(2, FooBar, { "children": normalizeProps(createComponentVNode(2, BarFoo, __assign({}, magics, foobars, props))) });
The text was updated successfully, but these errors were encountered: