Live data from Hacker News

Facebook open sources Lexical, an extensible text editor library

lexical.dev

121–130 of 141 posts

Re: Facebook open sources Lexical, an extensible text editor library

#121

From a company that intentionally broke text editing on mobile to force people to install the Messenger app, I wouldn't use it even if it was great.

That makes no sense. These two things have nothing to do with one another.

Re: Facebook open sources Lexical, an extensible text editor library

#124
post #91

Earlier quoted context omitted.

Mostly referring to high-traffic surfaces here, like Facebook Feed or Messenger. The % varies depending on the environment and the previous Draft.js implementation (and their plugins) but overall it's been very positive, especially with low-end devices that went way over 16ms response time per keypress.

This is my point. Facebook surfaces include stuff like editing a post, sending a message. All of these have relatively small character limits versus a text editor that handles millions of lines with tens of millions of characters. In the case of text editors, 1 object node per line implementations work fine for small files. They'll even edge out the overhead of more esoteric implementations requiring trees. Lookups a…

[deleted]

Re: Facebook open sources Lexical, an extensible text editor library

#125
post #41

Earlier quoted context omitted.

Hey Dominic, good to see you :) I take you moved from the React team to this dedicated Lexical team?

Good to see you too! I moved from the React core team about 2 years ago, and since then, I was fortunate to be able to build a team around Lexical!

Nice, congrats on the open source release!

Re: Facebook open sources Lexical, an extensible text editor library

#126
This has exactly the same maddening maladaptations that forced me to switch browsers for a reasonably adequate Facebook "experience". JavaScript that breaks in older or less popular browsers is not something I think needs to be promulgated even outside Facebook.

Disappointing.

Re: Facebook open sources Lexical, an extensible text editor library

#128
post #109
post #27

Earlier quoted context omitted.

It is in production at Facebook. We're slowly rolling out to more surfaces, replacing our existing DraftJS implementations as we go. We've noticed a big improvement internally from doing so, both in terms of less bugs but also performance and accessibility.

Hey Adam, is Meta using / planning on using Lexical for React Native as well?

Adam? You mean Dominic/trueadm? We have some ideas for supporting RN once we have iOS/Android versions of Lexical.

Re: Facebook open sources Lexical, an extensible text editor library

#130
post #129

WAT? https://github.com/facebook/lexical/blob/4e57eb8d7e0ca00fe99...

No idea :D https://github.com/facebook/lexical/pull/1733

I thought it was some kind of crazy obscure low-level optimization black magic, but probably not. :)
Post reply on HN