Hacker News new | ask | show | jobs
by mattgperry 1188 days ago
Your intuition is correct - there's nothing to indicate any delay.

Look at your profiler. Notice any significant overhead? You don't.

Implement this same thing using events and `.style` directly. You will get the exact same result.

The pointerEvent => style feedback loop is unfortunately very slow, more or less so in different browsers/operating systems.

Interesting that you would know so little about this and yet feel confident enough to make a proclamation like this is evidence of React's performance.