Collection of SolidJS utilities inspired completely by VueUse
Docs • Playground • Demo
import { useMouse } from 'solidjs-use'
const Demo = () => {
const { x, y } = useMouse()
return (
<h1>
{x()} x {y()}
</h1>
)
}
export default Demo
Refer to documentations for more details.
npm i solidjs-use
See the Contributing Guide
This project is heavily inspired by the following awesome projects.
And thanks to all the contributors on GitHub!
MIT License © 2023-PRESENT dream2023