4 ms·
Not sure what they mean by "typed events: vue 3: no". It's possible, I did it today. Here's the doc: - Typed component emits: https://vuejs.org/guide/typescrip
by simlevesque 4y ago
Not sure what they mean by "typed events: vue 3: no". It's possible, I did it today. Here's the doc:
- Typed component emits: https://vuejs.org/guide/typescript/composition-api.html#typing-component-emits https://vuejs.org/guide/typescript/composition-api.html#typi...
- Typing event handlers: https://vuejs.org/guide/typescript/composition-api.html#typing-event-handlers https://vuejs.org/guide/typescript/composition-api.html#typi...
- heisenbit 4y agoAnd the discussion of store for Vue neglected pinia which is de-facto the store.
- simlevesque 4y agoPersonally, after going all in with Pinia, I went back to no store. I just use refs and computeds exported from files. I have a dummy pinia store loading all of them to provide a basic devtools ui.