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 ref issues #3477

Merged
merged 6 commits into from
May 21, 2024
Merged

Fix ref issues #3477

merged 6 commits into from
May 21, 2024

Conversation

Gazook89
Copy link
Collaborator

This resolves #3468 by updating all the string refs to use React.createRef() instead. No more ref errors in the console.

now has refs `editorWrapper` and `editor`-- the former includes the snippet bar and codemirror editor, and the latter includes only the codemirror editor.
from editPage, homePage, newPage, and printPage, as well as splitPane.   The refs were declared, but never used.
@5e-Cleric
Copy link
Member

No more ref errors in the console.

Thank you. Yes please.

Copy link
Member

@5e-Cleric 5e-Cleric left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All seems to be in order.

@5e-Cleric 5e-Cleric added the 🔍 R4 - Reviewed - Fixed! ⭐ PR review comments addressed label May 19, 2024
@Gazook89 Gazook89 added the tweak Small, non-breaking change label May 20, 2024
@calculuschild calculuschild temporarily deployed to homebrewery-pr-3477 May 21, 2024 21:46 Inactive
@calculuschild calculuschild merged commit dcd34cc into naturalcrit:master May 21, 2024
2 checks passed
@calculuschild
Copy link
Member

Thanks @Gazook89 ! Looks good. 🎉 ⭐ 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔍 R4 - Reviewed - Fixed! ⭐ PR review comments addressed tweak Small, non-breaking change
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Support for "string" refs will be deprecated
3 participants