Hacker News new | ask | show | jobs
by lazarljubenovic 2819 days ago
This was the only thing stopping me from using it in larger projects. Can't wait to see how it plays. Hopefully the class-based interface has no weird object notation (methods, props, computed) and uses decorators like Angular.
1 comments

With the current TS helpers you have:

    @Prop myProp!: string;
    get myComputedGetter(): string {…
    set myComputedSetter(val: string) {…
    myMethod(in: number): string {…
    @Watch('property') methodToCallOnChange() {…
And a bunch of decorators to connect vuex actions etc.

I assume the Vue3 version will be similar