SolidJS port of
@lexical/react
Currently based on @lexical/react version 0.14.3
.
npm install lexical-solid
You may need to add lexical-solid
and the lexical packages (such as lexical-solid > lexical
) to the optimizeDeps.include
section of your vite config (assuming you are using vite).
This package pins lexical
and the @lexical/*
packages to specific minor versions. This means that you cannot upgrade your lexical version without upgrading lexical-solid
(well, maybe you could, but it'd be buggy). See #5 for some discussion.
This package can't be loaded in SSR mode. See this issue for details. Help is welcome.
This code in this repository is very similar to the source react code, with modifications for use with SolidJS. The license distributed with @lexical/react
can be found in LICENSE-UPSTREAM.