News for hackers. Stuff that matters.
Re:Lexical – a web text editor framework that powers Facebook by acywatson on Monday June 20, 2022 @07:03PM (#31817370)
You mean typing latency, right? The most important thing we do there is handling reconciliation ourselves rather than delegating to a framework (e.g., React). If you have full control over the reconciliation process, it's just a matter of continuous incremental optimization.
Re:Lexical – a web text editor framework that powers Facebook by ketzo on Monday June 20, 2022 @11:59PM (#31819679)
Could you explain this comment a little more?

What does "handling reconciliation rather than delegating" mean here?

Re:Lexical – a web text editor framework that powers Facebook by acywatson on Tuesday June 21, 2022 @12:04PM (#31825536)
Sure - DraftJS, for instance, delegates DOM reconciliation to React. Lexical does not. The core library is framework-agnostic, with it's own diffing and reconciliation processes.