2018-09-14 13:25:39 -07:00

10 lines
149 B
Plaintext

class {
onCreate() {
this.state = { count:0 };
}
increment() {
this.state.count++;
}
}
-- Hello World ${state.count}