Is it possible to use react locally without web-access and without a server?
For other HTML/css/script stuff it is possible to just browse a file using an URL like "file:///myFile.html". I have seen https://stackoverflow.com/a/30270618/4142984 but, firstly I don't use chrome and secondly I don't want to be seen on the net every time I do a little testing. (And, yes, I'm not just a little paranoid.)
So I've downloaded the js-files and replaced
<script src="https://unpkg.com/react@16/umd/react.development.js" crossorigin></script>
<script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js" crossorigin></script>
with
<script src="react-development.js" ></script>
<script src="react-dom.development.js"></script>
and I get:
Uncaught TypeError: React is undefined
Adding the code suggested here https://stackoverflow.com/a/26347762/4142984 I get
Uncaught ReferenceError: React is not defined
Is there a way to fix it, and if so, how?
One reason behind this question is that I don't trust the cloud: one hack to the server or one man(m/w/x)-in-the-middle attack and everything based on it will fail (best case) or do real damage.