Hacker News new | ask | show | jobs
by thorncorona 1466 days ago
I realize this isn't probably your product surface but do you have any idea why FB messenger still has issues with double texting using the text box?

Also, how do you guys design to reduce latency in Lexical? Esp considering the fluidity of modern chat clients ex. Telegram which are much more performant.

1 comments

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.
Could you explain this comment a little more?

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

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.