Skip to content

Commit e5d4407

Browse files
committed
More about working with TypeScript
1 parent 43ebc21 commit e5d4407

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/common-patterns.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ As of version 2.0, Feathers-Vuex has been rewritten in TypeScript.
2424

2525
See [this issue](https://github.com/feathersjs-ecosystem/feathers-vuex/issues/114) for suggestions for with TypeScript helpers.
2626

27+
In version 3.0, support for the [Vue Composition API](https://github.com/vuejs/composition-api) was added in the form of the `useFind` and `useGet` utilities. These new utilities provide the best experience for working with TypeScript. This is due to two things:
28+
29+
1. Better general TypeScript support in the Vue Composition API.
30+
1. Consistent object-key naming and types in the new utilities.
31+
32+
Read more about how to use them in the [Feathers-Vuex Composition API Docs](./composition-api.md)
33+
2734
## Clearing data upon user logout
2835

2936
The best solution is to simply refresh to clear memory. The alternative to refreshing would be to perform manual cleanup of the service stores. Refreshing is much simpler, so it's the officially supported solution. Feel free to read [this issue](https://github.com/feathersjs-ecosystem/feathers-vuex/issues/10) for more suggestions.

0 commit comments

Comments
 (0)