Support shorthand <div {property} />
syntax
#699
farism
started this conversation in
Language Development
Replies: 1 comment
-
I would like to have a discussion about this before we implement anything like that, so converting this into a discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In Mint, to pass a bunch of property variables to a component, you have to list out the key/value for each one.
This can get cumbersome and noisy when you have many props.
It would be nice if Mint had the ability to do shorthand properties (like in Svelte)
Beta Was this translation helpful? Give feedback.
All reactions