You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Failed to compile.
Error in ./src/App.jsx
Module parse failed: c:\Users\Alessandro\Dev\ciqooo\src\App.jsx Unexpected token (8:6)
You may need an appropriate loader to handle this file type.
SyntaxError: Unexpected token (8:6)
@ ./src/index.js 11:11-31
I d like to see if it is a 'real' javascript' or JSX
in addition when coding in .jsx i get more support from my editor (Visual studio code)
for emmet.
Let’s keep open until I figure out what Emmet is and how it’s used in VS Code. 😄
If there’s no way to configure it to activate in .js files I guess we’ll have to give in.
Activity
[-].jsx extenstion [/-][+].jsx extension [/+]alexzherdev commentedon Jul 29, 2016
Was discussed in #87
gaearon commentedon Jul 29, 2016
Let’s keep open until I figure out what Emmet is and how it’s used in VS Code. 😄
If there’s no way to configure it to activate in
.jsfiles I guess we’ll have to give in.pungggi commentedon Jul 29, 2016
I closed..found this http://stackoverflow.com/a/37592711/343112
see http://docs.emmet.io/
in html files (or in jsx) you type for example:
p>ul>li*4emmet will transform to
<p> <ul> <li></li> <li></li> <li></li> <li></li> </ul> </p>gaearon commentedon Jul 29, 2016
Ah, great to know. I’ll open another issue to warn users about JSX.
gaearon commentedon Sep 3, 2016
FYI we support JSX extension since 0.4.1 even though we don’t recommend it.
Read the release notes.