Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sxzz/vtom
Alias shallowRef to atom for Vue.
https://github.com/sxzz/vtom
vue
Last synced: 9 days ago
JSON representation
Alias shallowRef to atom for Vue.
- Host: GitHub
- URL: https://github.com/sxzz/vtom
- Owner: sxzz
- License: mit
- Created: 2023-02-11T15:53:28.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-13T20:20:37.000Z (8 months ago)
- Last Synced: 2024-04-14T05:11:13.023Z (8 months ago)
- Topics: vue
- Language: TypeScript
- Homepage:
- Size: 214 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# vtom [![npm](https://img.shields.io/npm/v/vtom.svg)](https://npmjs.com/package/vtom)
[![Unit Test](https://github.com/sxzz/vtom/actions/workflows/unit-test.yml/badge.svg)](https://github.com/sxzz/vtom/actions/workflows/unit-test.yml)
Alias `shallowRef` to `atom`.
## Install
```bash
npm i vtom
```## Usage
```ts
import { atom } from 'vtom'
import { shallowRef } from 'vue'console.log(atom === shallowRef) // true
```## Sponsors
## License
[MIT](./LICENSE) License © 2023 [三咲智子](https://github.com/sxzz)