1
Recommended setup for React development
(alien.top)
A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!
I use:
Along with something for eslint in flymake
Looks like adding
layout node
to.envrc
(direnv) would remove the need foradd-node-modules-to-path
for meusing much of the same combo and I'm happy with it, except I'm using the vtsls LSP.
it's pretty snappy with
(fset #'jsonrpc--log-event #'ignore)
add-node-modules-to-path is broken since npm dropped support for the
npm bin
command.That's not great. I bet the project I was using it on is quite old. In the meantime, as stated https://www.reddit.com/r/emacs/comments/1865s7b/recommended_setup_for_react_development/kb7kej1/ envrc and
layout node
seems to work for me!