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?
4 Replies
You have to return html in one way or another so you might as well get used to it
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
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
Yeah I made the emmet snippets to be always the first proposition so auto-completion works again