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

Fix some wonky internal logic + use __key internally #1646

Merged
merged 1 commit into from
Apr 8, 2022

Conversation

trueadm
Copy link
Collaborator

@trueadm trueadm commented Apr 8, 2022

We had some wonky logic in a bunch of places that I noticed when looking into code golfing. Furthermore, we can avoid a function call entirely in core, as __key is always stable.

@vercel
Copy link

vercel bot commented Apr 8, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

lexical – ./packages/lexical-website

🔍 Inspect: https://vercel.com/fbopensource/lexical/8inTG4DmuAG1f2DjZUogxPYfXoBs
✅ Preview: https://lexical-git-fix-internal-methods-fbopensource.vercel.app

lexical-playground – ./packages/lexical-playground

🔍 Inspect: https://vercel.com/fbopensource/lexical-playground/BD6Fukxe9uZ6BQRBe1buxC1ok2WD
✅ Preview: https://lexical-playground-git-fix-internal-methods-fbopensource.vercel.app

lexical-website-new – ./packages/lexical-website-new

🔍 Inspect: https://vercel.com/fbopensource/lexical-website-new/7UUZCpUFwpEVm7QFVcDustmveArY
✅ Preview: https://lexical-website-new-git-fix-internal-methods-fbopensource.vercel.app

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 8, 2022
@trueadm trueadm merged commit 974a3ff into main Apr 8, 2022
@trueadm trueadm deleted the fix-internal-methods branch April 8, 2022 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants