I could do this with any language. It's just bad code.
The problem is that the front-end ecosystem encourages pulling in megabytes of third-party crap for every little thing (including poorly reinventing existing browser functionality) and the result is that some interaction between all that mess causes an entire page redraw upon every keystroke or similar.