Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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)