JSFiddle - React, Tailwind, and code Playground

by brigand

JavaScript

document.addEventListener('mousemove', () => {
	console.log('doc');
}, true);

window.addEventListener('mousemove', () => {
	console.log('window');
}, true);