Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Remove deprecated default exports from @lexical/react modules #6253

Open
etrepum opened this issue Jun 4, 2024 · 0 comments
Open
Labels
enhancement Improvement over existing feature

Comments

@etrepum
Copy link
Collaborator

etrepum commented Jun 4, 2024

Follow-up to #6088

Now that the default exports from the @lexical/react modules are deprecated in the v0.16.0 release we should plan to remove them. Possibly in the next minor version or after some amount of time has elapsed? I don't know what the typical deprecation schedule looks like in lexical at this <1.0 stage.

This is isolated to the @lexical/rect package and affects the following modules:

  • @lexical/react/LexicalClickableLinkPlugin (now exports name ClickableLinkPlugin)
  • @lexical/react/LexicalErrorBoundary (now exports name LexicalErrorBoundary)
  • @lexical/react/LexicalTableOfContents -> @lexical/react/LexicalTableOfContentsPlugin(which exports name TableOfContentsPlugin) - the old module still exists with only a default export
  • @lexical/react/useLexicalEditable (now exports name useLexicalEditable)
  • @lexical/react/useLexicalSubscription (now exports name useLexicalSubscription)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement over existing feature
Projects
None yet
Development

No branches or pull requests

1 participant