JSX fragment tag short syntax does not work in light theme
See original GitHub issuePlease support us before creating a feature request, thanks for your support 😁
Please check
- I already support this project.
- If you are submitting a feature request, please do consider buy this plugin here or donating us on Open Collective Or by AliPay/WeChatPay.
- This issue/feature request is not reported before.
Your programming languages
Expected Behavior
When fragment tags are used <>
and </>
I would like them to be highlighted the same as other HTML tags
Current Behavior
They remain grey
Issue Analytics
- State:
- Created 9 months ago
- Comments:15 (8 by maintainers)
Top Results From Across the Web
Fragments - React
Short Syntax. There is a new, shorter syntax you can use for declaring fragments. It looks like empty tags: class Columns ...
Read more >React Fragments shorthand <></> breaks VSCode syntax ...
I have tried different themes but they all have this problem. Any ideas? enter image description here · reactjs · visual-studio-code.
Read more >Support <> standalone fragment syntax · Issue #84 - GitHub
I think IDEs will erroneously try to autocomplete that closing tag too actually. Unless JSX ends up reserving an element name then the...
Read more >Why are fragments better than container divs ? - GeeksforGeeks
Therefore, React fragments are better than the 'div' tags. With React Fragment, you can render multiple elements of a component without adding ...
Read more >What are React Fragments or the React Empty Tags ... - Medium
This is called the Empty tag in React. This is a shorter syntax for React Fragments. So we can also write the previous...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Looks to be theme related, I lose the colour when on the “Light” theme, but it’s there on “Dark” and “High Contrast”
Cool, I can repeat it in 2022.3 now.