@solidjs-use/integrations
v2.3.0
Published
integrations functions for solidjs-use inspired completely by VueUse
Downloads
39
Maintainers
Readme
@solidjs-use/integrations
This is an add-on of solidjs-use, providing integration wrappers for utility libraries.
Install
npm i solidjs-use @solidjs-use/integrations
Functions
useAsyncValidator
— wrapper forasync-validator
useAxios
— wrapper foraxios
useChangeCase
— reactive wrapper forchange-case
useCookies
— wrapper foruniversal-cookie
useDrauu
— reactive instance for drauuuseFocusTrap
— reactive wrapper forfocus-trap
useFuse
— easily implement fuzzy search using a composable with Fuse.jsuseIDBKeyval
— wrapper foridb-keyval
useJwt
— wrapper forjwt-decode
useNProgress
— reactive wrapper fornprogress
useQRCode
— wrapper forqrcode
Tree-shaking
For better tree-shaking result, import functions from submodules, for example:
import { useAxios } from '@solidjs-use/integrations/useAxios'
// Don't
import { useAxios } from '@solidjs-use/integrations'