Skip to content

[Proposal] namespaced JSX elements and attributes will be available in ts 4.2 #325

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

Closed
JounQin opened this issue Feb 22, 2021 · 1 comment · Fixed by #496
Closed

[Proposal] namespaced JSX elements and attributes will be available in ts 4.2 #325

JounQin opened this issue Feb 22, 2021 · 1 comment · Fixed by #496
Labels

Comments

@JounQin
Copy link

JounQin commented Feb 22, 2021

🧐 Problem Description

💻 Sample code

🚑 Other information

const foo = <n:a n:v />;

Although it means different with Vue modifier by default, but can we write a ts plugin to support it as Vue modifier just like template?

microsoft/TypeScript#37421

@tienpv222
Copy link

tienpv222 commented Feb 26, 2021

I have to write v-model={[val, 'propName']} a lot, so I'd be great if I can just do v-model:propName={val}.

KaelWD added a commit to KaelWD/jsx-next that referenced this issue Sep 5, 2021
Amour1688 pushed a commit that referenced this issue Sep 22, 2021
* chore: update dependencies

* feat: allow string arguments on directives

resolves #325
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants