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
lko5mo ago
You have to return html in one way or another so you might as well get used to it
StarPlatinumSan
StarPlatinumSanOP5mo 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
clevermissfox5mo 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
StarPlatinumSanOP5mo 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