4 ms·
To point #4, if your toplevel react+electron vs. react native projects are in distinct working directories, then you can use tools like ndenv[1] to manage node/
by saidajigumi 11y ago
To point #4, if your toplevel react+electron vs. react native projects are in distinct working directories, then you can use tools like ndenv[1] to manage node/npm versions using a .node-version file at the root of each project directory, as well as a configurable 'global' default setting. ndenv is great for this, since it uses PATH to do its work, and is therefore far more widely compatible with tooling than nvm. (nvm unfortunately requires executing within a bash w/ a mess of shell functions injected into it.)
[1] https://github.com/riywo/ndenv https://github.com/riywo/ndenv