In Svelte, when passing class attributes from a parent component to a child component, the behavior does not automatically merge classes as it does in Vue.js. This can lead to situations where classes defined in the parent are not combined with classes defined in the child, especially when the child component has its own predefined classes.
Describe the proposed solution
I would like Svelte to automatically merge class attributes passed from a parent component to a child component, similar to how Vue.js handles class merging.
Describe the problem
In Svelte, when passing class attributes from a parent component to a child component, the behavior does not automatically merge classes as it does in Vue.js. This can lead to situations where classes defined in the parent are not combined with classes defined in the child, especially when the child component has its own predefined classes.
Describe the proposed solution
I would like Svelte to automatically merge class attributes passed from a parent component to a child component, similar to how Vue.js handles class merging.
Importance
would make my life easier