help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What to use: native js-mode or rjsx-mode?


From: Dmitry Gutov
Subject: Re: What to use: native js-mode or rjsx-mode?
Date: Sat, 30 Jan 2021 14:34:53 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Hi!

On 30.01.2021 12:59, Steinar Bang wrote:
I have been using rjsx-mode for react.js with ES6 JSX syntax, since
2018, and have stayed with that since.

I have read what has been written about rjsx-mode, js-mode and js2-mode,
and have been thoroughly confused about where there is development going
on, what state the different modes have been in and what to use going
forward.

I'm still on emacs 26 and 27 (I'm a slow adopter, unless there is
something in a new emacs release I very much want).

If I want something that supports JSX syntax, should I move to the
native js-mode?  Or am I better off staying with rjsx-mode?

And if moving to native js-mode: when should I do this? From emacs 27?
 From emacs 28?

There's nothing new in it in Emacs 28, IIRC.

If the version of js-mode in 27 works well in your projects, that is the one "officially recommended", otherwise staying with rjsx-mode seems prudent.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]