Live data from Hacker News

Facebook open sources Lexical, an extensible text editor library

lexical.dev

1–10 of 141 posts

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

#8

It's worth mentioning that it seems like you need to use react with this.

You don't need React. Lexical has no dependencies, so you can build bindings for your framework/library of choice. There are folks working on a SolidJS implementation right now. You could also do it with VanillaJS if you wanted too.

The reason we have React bindings from the start, is because we needed these internally at Meta.

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

#9
post #7
post #5

How does this compare to others like Monaco, Ace, etc?

Despite the name (and the misleading-at-first-glance "demo" on the home page), Lexical appears to be a rich text editor like Quill or ProseMirror, not a code editor.

You could definitely build a code editor with Lexical. There's already a lot of interest in the community to add plugins around Lexical to match that of ProseMirror. It might not be there right now, but the foundations that make it possible aren't missing.

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

#10
post #8

It's worth mentioning that it seems like you need to use react with this.

You don't need React. Lexical has no dependencies, so you can build bindings for your framework/library of choice. There are folks working on a SolidJS implementation right now. You could also do it with VanillaJS if you wanted too. The reason we have React bindings from the start, is because we needed these internally at Meta.

GP may be responding to the fact that the vanilla quick start page is empty while the react one is not

https://lexical.dev/docs/getting-started/quick-start

Post reply on HN