Why is the React JSX format a bit ugly, and how can I change it?

I don't like how the return works with the parenthesis and how the HTML lays out inside the return, is there any way to make it appear cleaner or should I just get used to it?
No description
4 Replies
lko
lko4mo ago
You have to return html in one way or another so you might as well get used to it
StarPlatinumSan
StarPlatinumSan4mo ago
welp it also sucks because it makes me write HTML slower because some of the shortcuts I had with .html files are gone with .jsx
clevermissfox
clevermissfox4mo ago
there are many extensions that you can install in VS code like Simple React Snippets to help with imports and react syntax and i think that one also helps with the jsx autocomplete . you can always create your own shortcuts and snippets too
StarPlatinumSan
StarPlatinumSan4mo ago
Yeah I made the emmet snippets to be always the first proposition so auto-completion works again
Want results from more Discord servers?
Add your server