Challenge: Track Mouse Position
Practice what we’ve learned about reusable composable.
We'll cover the following...
Problem statement
Tracking users movements can be a useful way to create heat maps and determine how users are using your website. Your task is to create functionality to track the cursor’s position.
Challenge
You need to create a reusable composable called useMousePosition
that tracks the current position of the cursor pointer. This composable ...