Just like svelte has shorthand attributes
And after vue3.4 also supported same-name shorthand.
Proposal
Shorthand props
So can we also support shorthand props like svelte:
I know jsx can use {...{ src }} instead, but it's not beautiful for me.
I already created a plugin unplugin-jsx-short-bind to support it, because of TS, espree and babel don't support shorthand props, so I use ast-grep to parse ast.
Just like svelte has shorthand attributes
And after vue3.4 also supported same-name shorthand.
Proposal
Shorthand props
So can we also support shorthand props like svelte:
I know jsx can use {...{ src }} instead, but it's not beautiful for me.
I already created a plugin unplugin-jsx-short-bind to support it, because of
TS,espreeandbabeldon't support shorthand props, so I use ast-grep to parse ast.