Type (`), The Back quote or Grave accent symbol.

Useful for programmers… although not easy to find on a keyboard.

Hold down the alt key and on the number pad type in 96.

(Alt + 96)


console.log(`This is a string template where the constant x is ${x}`)

Advertisements

Differences in syntax between AngularJS, Angular2, React, and Vue.js

(by AXDS)

Here’s some examples showing the differences in syntax between AngularJS, Angular2, React, and Vue.js  🙂

All of these examples are doing pretty much the same thing:

AngularJS: https://jsfiddle.net/g7bk9Lk5/

Angular2: https://jsfiddle.net/pt5ox9mp/

React: https://jsfiddle.net/ma9bg0gt/

Vue.js: https://jsfiddle.net/2ojtoaxx/