Vue – Deep Unrefs

Similar to unref(), easily remove all refs recursively from an object using the deepUnref-composable.

๐Ÿ’ก Get Started

Luckily, it’s incredibly easy to get your package development started with this slightly opinionated starter kit.

npm install @openweb/deep-unref-vue

๐Ÿ‘ฉ๐Ÿฝโ€๐Ÿ’ป Usage

import { deepUnref } from '@openweb/deep-unref-vue'

const form = {
  name: ref('Jane Doe'),
  email: ref('[email protected]'),

saveToApi({ ...deepUnref(form) })

๐Ÿงช Testing

pnpm test

๐Ÿ“ˆ Changelog

Please see our releases page for more information on what has changed recently.

๐Ÿ’ช๐Ÿผ Contributing

Please see CONTRIBUTING for details.

๐Ÿ Community

For help, discussion about best practices, or any other conversation that would benefit from being searchable:

Discussions on GitHub

For casual chit-chat with others using this package:

Join the Open Web Discord Server

๐Ÿ“„ License

The MIT License (MIT). Please see LICENSE for more information.

Made with โค๏ธ by Open Web Labs.


View Github