All Projects β†’ Tarektouati β†’ Vue Use Web

Tarektouati / Vue Use Web

Licence: mit
πŸ•Έ Web APIs implemented as Vue.js composition functions

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Vue Use Web

Vue Composable
Vue composition-api composable components. i18n, validation, pagination, fetch, etc. +50 different composables
Stars: ✭ 638 (+5.8%)
Mutual labels:  hooks, utility-library
Husky
Git hooks made easy 🐢 woof!
Stars: ✭ 25,056 (+4055.22%)
Mutual labels:  hooks
React Hooks Lib
A set of reusable React Hooks.
Stars: ✭ 460 (-23.71%)
Mutual labels:  hooks
Maily
πŸ“« Rails Engine to preview emails in the browser
Stars: ✭ 502 (-16.75%)
Mutual labels:  hooks
Winxp
🏁 Web based Windows XP desktop recreation.
Stars: ✭ 4,717 (+682.26%)
Mutual labels:  hooks
React Hooks
Essential set of React Hooks for convenient Web API consumption and state management.
Stars: ✭ 515 (-14.59%)
Mutual labels:  hooks
React Recipes
πŸ‘©β€πŸ³ A React Hooks utility library containing popular customized hooks
Stars: ✭ 452 (-25.04%)
Mutual labels:  hooks
Stop Runaway React Effects
πŸƒ Catches situations when a react use(Layout)Effect runs repeatedly in rapid succession
Stars: ✭ 574 (-4.81%)
Mutual labels:  hooks
Gear
A lightweight, composable and high performance web service framework for Go.
Stars: ✭ 544 (-9.78%)
Mutual labels:  hooks
Mobx Router
A simple router for MobX + React apps
Stars: ✭ 489 (-18.91%)
Mutual labels:  hooks
Sugar
A Javascript library for working with native objects.
Stars: ✭ 4,457 (+639.14%)
Mutual labels:  utility-library
React Hook
↩ Strongly typed, concurrent mode-safe React hooks
Stars: ✭ 472 (-21.72%)
Mutual labels:  hooks
React Hooks Cheatsheet
πŸ¦– React hooks cheatsheet with live editable examples
Stars: ✭ 520 (-13.76%)
Mutual labels:  hooks
React Use Gesture
πŸ‘‡Bread n butter utility for component-tied mouse/touch gestures in React and Vanilla Javascript.
Stars: ✭ 5,704 (+845.94%)
Mutual labels:  hooks
Ubelt
A Python utility belt containing simple tools, a stdlib like feel, and extra batteries. Hashing, Caching, Timing, Progress, and more made easy!
Stars: ✭ 561 (-6.97%)
Mutual labels:  utility-library
The Platform
Web. Components. πŸ˜‚
Stars: ✭ 4,355 (+622.22%)
Mutual labels:  hooks
Fakeit
The Kotlin fake data generator library!
Stars: ✭ 482 (-20.07%)
Mutual labels:  utility-library
Animavita
Trigger life-saving alerts, register animals for adoption and find the closest pet friend to adopt 🐢
Stars: ✭ 508 (-15.75%)
Mutual labels:  hooks
Pluggy
A minimalist production ready plugin system
Stars: ✭ 572 (-5.14%)
Mutual labels:  hooks
React Fetching Library
Simple and powerful API client for react πŸ‘ Use hooks or FACCs to fetch data in easy way. No dependencies! Just react under the hood.
Stars: ✭ 561 (-6.97%)
Mutual labels:  hooks

vue-use-web

Github Actions Codacy grade npm npm bundle size npm GitHub license

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.

What and why

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.

Installation

# install with yarn
yarn add @vue/composition-api vue-use-web

# install with npm
npm install @vue/composition-api vue-use-web

Usage

Kindly Check the documentation for examples.

APIs

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.

Inspiration

This library is inspired by the-platform and standard-hooks for React.js.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].