Skip to content

0.7.0

Compare
Choose a tag to compare
@fullfs fullfs released this 17 Jan 07:33
· 6 commits to master since this release

New

  • Computed properties are now calculated dynamically on its getting. It allows immediate recalculation. For example:
data: {
    number: 1
},
computed: {
    tenTimes() {
        return this.number * 10;
    }
},
createdBe: {
    console.log(this.tenTimes) // 10;
    this.number = 2;
    console.log(this.tenTimes) // 20;
}