A
A
Al Sm2017-10-23 15:26:06
phpstorm
Al Sm, 2017-10-23 15:26:06

How to fix React app due to jsx switching in phpStorm?

Hello. Friends, I'm just starting to learn ReactJS, in Laravel 5.5 (I work in phpStorm). In the editor, the code of js files was somehow strangely displayed (everything was underlined with wavy red lines, spaces with solid lines) and this visually interfered. Later I saw that phpStorm offers to switch to JSX. After clicking, the inscription disappeared, the code in the editor became normal (all the underlines disappeared), but even after that the pages were no longer displayed.
What did I switch, how can I get it back?
Thanks a lot in advance for your help!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tyzberd, 2017-10-23
@radio_mus

so as not to emphasize sometimes I change it here, right-click joxi.ru/823jJg8uJdEajm then joxi.ru/MAjMNReu4qV1e2
and for jsx press Ctrl+Alt+S and look for javascript joxi.ru/823jJg8uJdEzjm. This is what you switched, even checked for yourself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question