Comments (1)
They're not internal modules, those are all public modules that can be imported. On the other hand, @lexical/react is not a module that can be imported. For some historical reason that I don't know about, the @lexical/react package is organized in this way rather than having a central "barrel" module where all of the internals can be imported. My guess is that it's organized in this way to support a rudimentary tree-shaking bundler.
It might make sense to organize the documentation for @lexical/react's modules in some other way, or bite the bullet and make it all importable from @lexical/react, but in its current state the API sidebar lists all of the modules you can import. Previously (before #5850), there was no API documentation at all for any of these modules on the website.
from lexical.
Related Issues (20)
- Cleanup ArtificialNode__DO_NOT_USE
- Bug: Should not focus on root element HOT 2
- Bug: Cursor jump to the end of the document when a collaborator deletes focusing paragraph HOT 2
- Bug: Passing an empty ParagraphNode to $dfs incorrectly returns content from subsequent paragraphs
- Bug: MutationObserver error when deploying to Vercel HOT 3
- Bug: Select all in copy pasted table broken
- Feature: bring all examples into the monorepo HOT 2
- Feature: document and export common/known update tags
- Bug: Changing the font size when inputting does not take effect HOT 12
- better support for keyboard accessibility
- Bug: Selection is removed when changing style of 2 different nodes HOT 2
- Bug: Cursor jumps to the end of the document after undo checkbox adding HOT 3
- Chore: Update vite, rollup, and associated build-related packages
- Bug: $getSelection always returns null. HOT 1
- Bug: CSS property `scroll-padding` not working
- Feature: Dev experience for createCommand HOT 1
- Bug: Google Docs checklist does not paste correctly
- Feature: Option to include blank lines in markdown
- Bug: Styles of pre-populated text in editorState is not applied + Error while upgrading to version 0.14.3 or higher
- removeFromParent doesn't readjust selection
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lexical.