I need someone to help me! Is there any better idea to write react code in JSX?
just in case you’re still looking for an answer:
ctrl + option/alt + e invokes emmet’s “expand abbreviation” command. In case of doubt, check out the keybindings in your preferences.
Hope it is what you’re looking for.
There’s the className issue though…
When expanding the abbreviation
div.container should return
<div className="container"></div> instead of
<div class="container"></div> when writing JSX… Any idea on how to get it right? Thank you.