This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
clientX => the distance from edge of viewport (what people see in viewport) pageX => the distance from edge browser with exceed distance of viewport offsetX => from the inner edge of an element to the mouse down screenX => from the edge of screen of monitor