DEV Community

Cover image for Window mouse position hook in React
coder4life
coder4life

Posted on

Window mouse position hook in React

In this video we will create a reuseable hook for getting the window mouse position. It's a simple hook and easy to implement. If you are just getting started with React Hooks this might just be a nice entrypoint to get started with hooks.

Top comments (0)