Bumps [dot-prop](https://github.com/sindresorhus/dot-prop) from 4.2.0 to 4.2.1. **This update includes a security fix.** - [Release notes](https://github.com/sindresorhus/dot-prop/releases) - [Commits](https://github.com/sindresorhus/dot-prop/compare/v4.2.0...v4.2.1) Signed-off-by: dependabot-preview[bot] <email@example.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
|5 months ago|
|.github/workflows||1 year ago|
|docs||6 months ago|
|scripts||11 months ago|
|src||5 months ago|
|test||1 year ago|
|.eslintrc.json||1 year ago|
|.gitignore||1 year ago|
|.prettierrc.js||1 year ago|
|CODE_OF_CONDUCT.md||1 year ago|
|CONTRIBUTING.md||1 year ago|
|LICENSE||1 year ago|
|README.md||7 months ago|
|commitlint.config.js||1 year ago|
|jest.config.js||1 year ago|
|package.json||5 months ago|
|tsconfig.json||1 year ago|
|vue-shims.d.ts||1 year ago|
|yarn.lock||5 months ago|
Web APIs implemented as Vue.js composition functions.
This is a collection of Web APIs exposed as Vue.js composition hooks that's upcoming in Vue 3.0
You can use them with Vue 2.0 using @vue/composition-api until Vue 3.0 gets out.
Web APIs are ever changing, this library aims to provide to Vue.js developers a stable interface that integrates well into the ecosystem. Also an interface that degrades gracefully when browsers do not support said features.
I initially was choosing to expose this as a Stateful functional components but that isn't very handy and is not future proof. Implementing these APIs in Vue composition API (hooks) makes them ready for Vue 3.0 and beyond. Personally I think this is the perfect example to showcase the power of the Composition API.
# install with yarn yarn add @vue/composition-api vue-use-web # install with npm npm install @vue/composition-api vue-use-web
Each composition function is designed to degrade gracefully so you can safely use them, but you should use these as a progressive enhancements for your apps. Check browsers compatibilities for each API.