You should try vim-jsx plug-in in vim editor for reactjs. Syntax highlighting and indenting for JSX.
You can also use Visual Studio Code with reactjs extensions which will give you help in syntax highlighting.
solved what is good reactjs development ide?