clear() — react Function Reference
Architecture documentation for the clear() function in touchStore.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 52047a37_67cf_8031_ea15_b0eeef715742["clear()"] 56f57e4a_fc42_037d_ee3b_9463227d15f3["touchStore.js"] 52047a37_67cf_8031_ea15_b0eeef715742 -->|defined in| 56f57e4a_fc42_037d_ee3b_9463227d15f3 45263bfc_70c4_4d55_4ea5_e1665a6b260e["resetActivePointers()"] 45263bfc_70c4_4d55_4ea5_e1665a6b260e -->|calls| 52047a37_67cf_8031_ea15_b0eeef715742 style 52047a37_67cf_8031_ea15_b0eeef715742 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/dom-event-testing-library/touchStore.js lines 80–82
export function clear() {
activeTouches.clear();
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does clear() do?
clear() is a function in the react codebase, defined in packages/dom-event-testing-library/touchStore.js.
Where is clear() defined?
clear() is defined in packages/dom-event-testing-library/touchStore.js at line 80.
What calls clear()?
clear() is called by 1 function(s): resetActivePointers.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free