March 2017
Intermediate to advanced
821 pages
18h 21m
English
We need to use template language to write component templates. Template language is composed of HTML along with the {}, [], (), [()], *, |, and # tokens. Let's see what each of these is used for and how to use them.
To simply render a property of the this keyword, we need to use the {{}} token. Inside these braces, we can simply place the property name.
We can only place expressions inside braces. The expressions we place inside them look like JavaScript. But there are a few JavaScript expressions that we are not allowed to use inside these braces. Here they are:
=, +=, -=)new operator; or ,++ and --)| and &Read now
Unlock full access