Add common test helper for early ref removal #11620
Labels
0 - new
New issues that need assignment.
needs triage
Planning workflow - pending design/dev review.
p - low
Issue is non core or affecting less that 10% of people using the library
research
Issues that require more in-depth research or multiple team members to resolve or make decision.
resolution: refine
For issues we support, but additional details are needed prior to dev work.
tooling
Issues relating to build system fixes or improvements.
Priority impact
p - low
Summary
We need a test helper to add coverage for use cases where an element might be removed from the DOM to ensure the ref is available when ref-related logic runs.
Desired Outcome
A common test helper that creates and configures a component, then removes it to ensure code that runs after any refs are cleared doesn't throw.
Things to consider:
ref
callbacks are invoked in certain configurations, so the helper might need to handle different scenariosResources
No response
The text was updated successfully, but these errors were encountered: