3 ms·
I could do this with any language. It's just bad code.
by seph-reed 5y ago
I could do this with any language. It's just bad code.
- black_puppydog 5y agojust seems to happen more often in JS... :|
- seph-reed 5y agoIt's an entry level programming language with unprecedented ease of publishing and access. It would be extremely impressive if it didn't.
- black_puppydog 5y agoWell then we agree I guess... I'm not impressed. :D
- Nextgrid 5y agoIf you were writing pure JS you'd probably need to intentionally delay text entry with setTimeout/etc to achieve this effect - I don't think you can achieve this outcome by accident. 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.
- bhl 5y agoTo be fair to authors of those third-party libraries, some of the blame has to do with browser quirks, and for a rich text editor, bugs in the implementation of content-editable that have to be normalized across all browsers (unless you pull the engineering-heavy route of rewriting everything in canvas).