From: Dmitry Gutov <dgutov@yandex.ru>
To: Steinar Bang <sb@dod.no>, help-gnu-emacs@gnu.org
Subject: Re: What to use: native js-mode or rjsx-mode?
Date: Sat, 30 Jan 2021 14:34:53 +0200 [thread overview]
Message-ID: <fe1241d6-ad88-c4b0-f144-ff65e6213076@yandex.ru> (raw)
In-Reply-To: <86czxmn10n.fsf@dod.no>
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.
prev parent reply other threads:[~2021-01-30 12:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-30 10:59 What to use: native js-mode or rjsx-mode? Steinar Bang
2021-01-30 12:34 ` Dmitry Gutov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fe1241d6-ad88-c4b0-f144-ff65e6213076@yandex.ru \
--to=dgutov@yandex.ru \
--cc=help-gnu-emacs@gnu.org \
--cc=sb@dod.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).