Similar to unref()
, easily remove all refs recursively from an object using the deepUnref
-composable.
Luckily, it's incredibly easy to get your package development started with this slightly opinionated starter kit.
npm install @ow3/deep-unref-vue
import { deepUnref } from '@ow3/deep-unref-vue'
const form = {
name: ref('Jane Doe'),
email: ref('jane@doe.com'),
}
save(deepUnref(form))
pnpm test
Please see our releases page for more information on what has changed recently.
Please see CONTRIBUTING for details.
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
For casual chit-chat with others using this package:
Join the Open Web Discord Server
The MIT License (MIT). Please see LICENSE for more information.
Made with ❤️ by Open Web Labs.