Unverified Commit dc3952e7 authored by Gicquel's avatar Gicquel Committed by gitbook-bot
Browse files

GitBook: [master] one page modified

parent 055707df
......@@ -2,7 +2,7 @@
### Introducing reactivity : dynamic number of observations
## About reactivity
After having created static content, we will now use this content to use reactivity. Reactivity is at the core of VueJS.
......@@ -18,7 +18,7 @@ In the case of Albiziapp, reactivity means :
* If `a=b+c` each time `b or c` are changed, a will change accordingly.
* Data changes occurring in a subcomponent are reflected in the parent components
#### Practical example : mutating data
## Practical example : mutating data
In the new page script, let's declare a `data()` function. This function is used in VueJS to create simple reactive data. For convenience, use the following code.
......@@ -59,3 +59,9 @@ The double mustache syntax evaluates the value of the **javascript expression**
```
## Handling events to mutate data
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment