Clean up ref-handling logic #11093
Labels
0 - new
New issues that need assignment.
calcite-components
Issues specific to the @esri/calcite-components package.
needs triage
Planning workflow - pending design/dev review.
refactor
Issues tied to code that needs to be significantly reworked.
Description
Lumina calls
ref
when a component is disconnected, so #10310 mainly focused keeping refs and returning early if nulled. We should revisit these areas to see if we can improve teardown of cleared refs.Proposed Advantages
Decrease chances of memory leaks.
Which Component
Any component using
ref
.Relevant Info
No response
Calcite package
The text was updated successfully, but these errors were encountered: