Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mosheduminer/lexical-solid
SolidJS port of `@lexical/react`. This port will be updated from time to time to maintain parity and keep dependencies fresh.
https://github.com/mosheduminer/lexical-solid
lexical solidjs
Last synced: 19 days ago
JSON representation
SolidJS port of `@lexical/react`. This port will be updated from time to time to maintain parity and keep dependencies fresh.
- Host: GitHub
- URL: https://github.com/mosheduminer/lexical-solid
- Owner: mosheduminer
- License: mit
- Created: 2022-03-25T01:06:53.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-21T15:38:45.000Z (about 2 months ago)
- Last Synced: 2024-10-29T14:40:11.307Z (about 2 months ago)
- Topics: lexical, solidjs
- Language: TypeScript
- Homepage: https://npmjs.com/package/lexical-solid
- Size: 1.24 MB
- Stars: 85
- Watchers: 3
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-solid-js - Lexical Solid
README
# Lexical-Solid
SolidJS port of `@lexical/react`
This is a SolidJS port of [@lexical/react](https://www.npmjs.com/package/@lexical/react) (always based on the same `@lexical/react` version as the pinned [lexical-dependencies](#lexical-dependencies), see that section of the README for the current version).
If you're using this library, I'd appreciate it if you let me know (in github discussions or in the lexical discord)!
# Installing
`npm install lexical-solid`
or using the package manager of your choice.
This repository uses `pnpm`, but if you are only a consumer of this library, you do not need it.
# Lexical Dependencies
Currently using lexical packages version `0.20.0`, and ported from [@lexical/react](https://www.npmjs.com/package/@lexical/react) of the same version tag.
This package pins `lexical` and the `@lexical/*` packages to specific minor versions. This means that you can only upgrade your lexical version to the latest _patch_ version compatible with the current version. Attempting to upgrade the minor version will result in a broken state due to mismatched packages. See [#5](https://github.com/mosheduminer/lexical-solid/issues/5) for some discussion of the pinning strategy.
# License
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](./LICENSE-UPSTREAM).