_restoreMutableViewState() — react Function Reference
Architecture documentation for the _restoreMutableViewState() function in VerticalScrollView.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD fab01b1f_059e_02e3_e192_f5ea56188371["_restoreMutableViewState()"] 15e8ee71_cd71_e6f6_40e5_59e8feb4985d["VerticalScrollView"] fab01b1f_059e_02e3_e192_f5ea56188371 -->|defined in| 15e8ee71_cd71_e6f6_40e5_59e8feb4985d 37f0fa7a_a424_f502_b9ca_72177675b329["constructor()"] 37f0fa7a_a424_f502_b9ca_72177675b329 -->|calls| fab01b1f_059e_02e3_e192_f5ea56188371 style fab01b1f_059e_02e3_e192_f5ea56188371 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-devtools-timeline/src/view-base/VerticalScrollView.js lines 248–263
_restoreMutableViewState() {
if (
this._viewState.viewToMutableViewStateMap.has(this._mutableViewStateKey)
) {
this._scrollState = ((this._viewState.viewToMutableViewStateMap.get(
this._mutableViewStateKey,
): any): ScrollState);
} else {
this._viewState.viewToMutableViewStateMap.set(
this._mutableViewStateKey,
this._scrollState,
);
}
this.setNeedsDisplay();
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does _restoreMutableViewState() do?
_restoreMutableViewState() is a function in the react codebase, defined in packages/react-devtools-timeline/src/view-base/VerticalScrollView.js.
Where is _restoreMutableViewState() defined?
_restoreMutableViewState() is defined in packages/react-devtools-timeline/src/view-base/VerticalScrollView.js at line 248.
What calls _restoreMutableViewState()?
_restoreMutableViewState() is called by 1 function(s): constructor.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free