News for hackers. Stuff that matters.
Re:Notion Timeline View by bhl on Thursday November 12, 2020 @04:47AM (#25068196)
> Slack & notion make me close my eyes while typing, just because the delay between key press and pixels lighting up is so long that I get confused. It's like speaking with a 400ms or so echo of yourself being played back. Hugely distracting.

That reminds me of this blogpost [1]. It's definitely possible to optimize the input latency of rich text editors in the browser: they just have to be close to the metal of the 'contenteditable' browser api.

[1] https://juretriglav.si/what-happens-when-you-type-a-single-l...

Re:Notion Timeline View by black_puppydog on Thursday November 12, 2020 @08:29AM (#25069603)
Oh this makes so much sense now, thanks for sharing. I only recently had to look into react for the first time (not a web dev at all) and was shocked by the depth of call trees and render processes for even simple tasks.

No wonder these things are so unusable. But I guess slack know who they're targeting? People who won't notice the latency because when the pixels show up they're still busy finding the next key to press, or trying to find the right button for the text formatting... /s