parent
d53a4e8c79
commit
fa589fd78f
4 changed files with 248 additions and 700 deletions
@ -0,0 +1,9 @@ |
|||||||
|
# toRef |
||||||
|
|
||||||
|
`toRef` just like `toRefs` converts a reactive object to a ref pointing to the corresponding property of the original object. The difference is that `toRef` converts a single property of the reactive object to a ref, while `toRefs` converts all properties of the reactive object to refs. |
||||||
|
|
||||||
|
|
||||||
|
Visit the following resources to learn more: |
||||||
|
|
||||||
|
- [Reactivity API — toRef](https://vuejs.org/api/reactivity-utilities.html#toref) |
||||||
|
- [Vue 3: Reactivity Made Easy (ref, reactive, toRefs... oh my!)](https://www.youtube.com/watch?v=sAj6tdVS2cA) |
@ -1,8 +0,0 @@ |
|||||||
# Jest |
|
||||||
|
|
||||||
Jest is a delightful JavaScript Testing Framework with a focus on simplicity. |
|
||||||
It works with projects using: Babel, TypeScript, Node, React, Angular, Vue and more! |
|
||||||
|
|
||||||
Visit the following resources to learn more: |
|
||||||
|
|
||||||
- [Jest Website](https://jestjs.io/) |
|
@ -0,0 +1,9 @@ |
|||||||
|
# Vitest |
||||||
|
|
||||||
|
Vitest is a fast Vite-native unit test framework with out-of-box ESM and TypeScript support. |
||||||
|
Works on React, Vue, Svelte and more projects created with Vite |
||||||
|
|
||||||
|
Visit the following resources to learn more: |
||||||
|
|
||||||
|
- [Vitest Website](https://vitest.dev/) |
||||||
|
- [Testing with Vitest](https://www.youtube.com/watch?v=cM_AeQHzlGg) |
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue