Dollar sign in javascript , ES6 and not jQuery: Template literals
`string text ${expression} string text`
Template literals are enclosed by the backtick!
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals
`string text ${expression} string text`
Template literals are enclosed by the backtick!
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals
<pre>
<code>
<xmp>
Put in this tags.
</xmp>
</code>
</pre>
REACT VS VUE: WHICH ONE TO CHOOSE IN 2022?
https://pagepro.co/blog/react-vs-vue-comparison/
Angular vs React vs Vue: Which Framework to Choose in 2020 https://www.codeinwp.com/blog/angular-vs-vue-vs-react/
Number of stars on GitHub projects for Angular, React, and Vue:
Some JavaScript programmers use semicolons at the end of every statement, and some use them only where strictly required. Most do something in between, and a few even intentionally add extra semicolons as a matter of style.
Use an integrated toolchain for the best user and developer experience.
This worked for me.
Update the development array in package.json
“development”: [
“ie 11”,
“last 1 chrome version”,
“last 1 firefox version”,
“last 1 safari version”
]
}
Add the below code in index.js in the src folder
// These must be the first lines in src/index.js
import ‘react-app-polyfill/ie11’;
import ‘react-app-polyfill/stable’;
Then delete the node_modules folder and run
npm install
https://stackoverflow.com/questions/56421417/react-app-not-working-in-internet-explorer-11
BEST SOLUTION:
run npm config edit to edit your config
Check your short username.If you want to be sure, you can use
dir /x in cmd
Kunsági~1 bad, KUNSGI~1 good
change:
cache=C:\Users\KUNSGI~1\AppData\Roaming\npm-cache
from: https://github.com/zkat/npx/issues/146 comment: g8up commented on Jan 16 2019 •
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I’m on Windows 10 Professional. I got the same issue and I got it fixed by running the following commands in command prompt.
npm install -g create-react-app
npx create-react-app
https://github.com/zkat/npx/issues/209
Doing an
npm install -g create-react-app
isn’t really a solution per se, as the entire point of $ npx is to avoid the need for global installs. Modules like create-react-app change so frequently that they are typically out of date soon after installing them. So npx then allows you to execute a package without actually installing it, thereby ensuring that you are always using the latest cut of the module.
I had the same issue described above (EPERM) and the following thread – specifically the npm config set trick using ~1 – resolved the problem for me.
//npm uninstall -g create-react-app
https://github.com/zkat/npx/issues/146
original:
C:\Users\Kunsági Zsolt\AppData\Roaming\npm-cache
npm config set cache “C:\Users\KUNSGI~1\AppData\Roaming\npm-cache” –global
//I can’t edit the config