Home / Function/ _setInteractionState() — react Function Reference

_setInteractionState() — react Function Reference

Architecture documentation for the _setInteractionState() function in ResizeBarView.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  e90ae4ef_4b8c_a5e3_ed50_d72e350e604b["_setInteractionState()"]
  bc0823a6_6e22_c24e_dcae_a58df082924b["ResizeBarView"]
  e90ae4ef_4b8c_a5e3_ed50_d72e350e604b -->|defined in| bc0823a6_6e22_c24e_dcae_a58df082924b
  217ff997_1f0f_fc0a_390d_a2f46c1a2e16["_handleMouseDown()"]
  217ff997_1f0f_fc0a_390d_a2f46c1a2e16 -->|calls| e90ae4ef_4b8c_a5e3_ed50_d72e350e604b
  686db2c1_9d87_c8ba_dd6a_45815f4456ca["_handleMouseMove()"]
  686db2c1_9d87_c8ba_dd6a_45815f4456ca -->|calls| e90ae4ef_4b8c_a5e3_ed50_d72e350e604b
  6cabb0a4_31b0_c458_c4b3_4d244721ec78["_handleMouseUp()"]
  6cabb0a4_31b0_c458_c4b3_4d244721ec78 -->|calls| e90ae4ef_4b8c_a5e3_ed50_d72e350e604b
  style e90ae4ef_4b8c_a5e3_ed50_d72e350e604b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-devtools-timeline/src/view-base/resizable/ResizeBarView.js lines 119–125

  _setInteractionState(state: ResizeBarState) {
    if (this._interactionState === state) {
      return;
    }
    this._interactionState = state;
    this.setNeedsDisplay();
  }

Domain

Subdomains

Frequently Asked Questions

What does _setInteractionState() do?
_setInteractionState() is a function in the react codebase, defined in packages/react-devtools-timeline/src/view-base/resizable/ResizeBarView.js.
Where is _setInteractionState() defined?
_setInteractionState() is defined in packages/react-devtools-timeline/src/view-base/resizable/ResizeBarView.js at line 119.
What calls _setInteractionState()?
_setInteractionState() is called by 3 function(s): _handleMouseDown, _handleMouseMove, _handleMouseUp.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free