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 @ow3/deep-unref-vue
👩🏽💻 Usage
import { deepUnref } from '@ow3/deep-unref-vue'
const form = {
name: ref('Jane Doe'),
email: ref('jane@doe.com'),
}
save(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:
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