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

Interactivity API Docs: Clarify that getElement()'s ref can be null #59868

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

DAreRodz
Copy link
Contributor

What?

Related to: #59757

This PR expands the ref documentation and explains it can be null while the element is being hydrated or mounted.

Copy link

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: DAreRodz <darerodz@git.wordpress.org>
Co-authored-by: c4rl0sbr4v0 <cbravobernal@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@cbravobernal cbravobernal enabled auto-merge (squash) March 14, 2024 11:21
@cbravobernal cbravobernal merged commit ee70b1c into trunk Mar 14, 2024
62 of 63 checks passed
@cbravobernal cbravobernal deleted the udpate/interactivity-api-docs-ref-null-value branch March 14, 2024 13:43
@github-actions github-actions bot added this to the Gutenberg 18.0 milestone Mar 14, 2024
carstingaxion pushed a commit to carstingaxion/gutenberg that referenced this pull request Mar 27, 2024
Co-authored-by: DAreRodz <darerodz@git.wordpress.org>
Co-authored-by: c4rl0sbr4v0 <cbravobernal@git.wordpress.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Packages] Interactivity /packages/interactivity [Type] Developer Documentation Documentation for developers
2 participants