RE

React

@lexical/react

This package provides Lexical components and hooks for React applications.

Rich Text
react
lexical
editor
rich-text
@lexical/react
Rich Text
javascript
npm
frontend
open source
Stars
1
Weekly
0
Open issues
0
Bundle
~60 kB

Installation

npm install @lexical/react

Code example

import { React } from "@lexical/react";

export function Example() {
  return (
    <div>
      <h2>React</h2>
      <React />
    </div>
  );
}

Pros & cons

Pros

  • Actively maintained by fantactuka
  • 0 weekly downloads. Battle tested
  • First-class TypeScript definitions
  • MIT licensed

Considerations

  • Adds roughly ~60 kB to your bundle
  • Needs client-only rendering in SSR frameworks
  • Not supported in React Native
  • 0 open issues on GitHub

FAQs

Alternatives & similar libraries