Skip to content
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

[Feature][plugin-playground]: Support tsx #1324

Open
SoonIter opened this issue Aug 13, 2024 · 0 comments
Open

[Feature][plugin-playground]: Support tsx #1324

SoonIter opened this issue Aug 13, 2024 · 0 comments

Comments

@SoonIter
Copy link
Member

What problem does this feature solve?

At present, we recommend using jsx, and there are some bugs in tsx that cause some syntax errors in monaco.

image

img_v3_02dm_7d4624f6-0f40-4068-95f4-e87bd0d6a87g

What does the proposed API look like?

  1. syntax highlight for typescript-react
  2. remove type prompts just like antd, for reducing bundle size
image

Related

https://gist.github.com/RoboPhred/f767bea5cbc972e04155a625dc11da11

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

No branches or pull requests

2 participants