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
If the default slot of a <react:Component> only contains other <react:Component>s and no Svelte components or control-flow these components could be compiled into a children prop.
because of the <strong> it wil opt-out of the optimisation and now Tabs no longer get the Tab components as direct children. Maybe the optimised version should also wrap the children into a "useless" fragment.
If the default slot of a
<react:Component>
only contains other<react:Component>
s and no Svelte components or control-flow these components could be compiled into a children prop.could be compiled to:
Note:
This could lead to surprises like:
working but it will stop working for:
because of the
<strong>
it wil opt-out of the optimisation and now Tabs no longer get the Tab components as direct children. Maybe the optimised version should also wrap the children into a "useless" fragment.Related #43
The text was updated successfully, but these errors were encountered: