-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Binding spread attributes #5137
Comments
I have no idea how svelte does stuff internally, but some suggestions:
Basically, |
I don't think |
Both great, we just need someone to see this who knows more about internals / which one is easier to implement. |
Took a poke around, and it seems this is where spread parsing occurs: https://github.com/sveltejs/svelte/blob/master/src/compiler/parse/state/tag.ts#L310 Given that |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I've written an RFC at sveltejs/rfcs#57 in an attempt to propose a solution for this. Anyone one looking at this problem should feel free to chime in. |
Is your feature request related to a problem? Please describe.
I try, to create some component, and i would like use spread attributes. However we can't bind this kind of attributes. Tha's why I think about a solution
Describe the solution you'd like
bind spread like bind:{...attributes}
Describe alternatives you've considered
I don't an other alternatives
How important is this feature to you?
I think it's important, but it's not like a principal feature.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: