Saturday, 14 May, 2022 UTC


Summary

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.
GitHub
View Github