Home / Function/ setIsCommitFilterEnabled() — react Function Reference

setIsCommitFilterEnabled() — react Function Reference

Architecture documentation for the setIsCommitFilterEnabled() function in useCommitFilteringAndNavigation.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  cb73e845_c62e_f2c7_edc2_9d5fbebe5580["setIsCommitFilterEnabled()"]
  1d558132_0276_7e48_1a18_611bb9fef088["useCommitFilteringAndNavigation.js"]
  cb73e845_c62e_f2c7_edc2_9d5fbebe5580 -->|defined in| 1d558132_0276_7e48_1a18_611bb9fef088
  68892dee_ae3d_6c73_e4ba_819f15b5a33c["adjustSelectionAfterFilterChange()"]
  cb73e845_c62e_f2c7_edc2_9d5fbebe5580 -->|calls| 68892dee_ae3d_6c73_e4ba_819f15b5a33c
  style cb73e845_c62e_f2c7_edc2_9d5fbebe5580 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-devtools-shared/src/devtools/views/Profiler/useCommitFilteringAndNavigation.js lines 158–167

    (value: boolean) => {
      setIsCommitFilterEnabledValue(value);

      const newFilteredIndices = calculateFilteredIndices(
        value,
        minCommitDuration,
      );

      adjustSelectionAfterFilterChange(newFilteredIndices);
    },

Domain

Subdomains

Frequently Asked Questions

What does setIsCommitFilterEnabled() do?
setIsCommitFilterEnabled() is a function in the react codebase, defined in packages/react-devtools-shared/src/devtools/views/Profiler/useCommitFilteringAndNavigation.js.
Where is setIsCommitFilterEnabled() defined?
setIsCommitFilterEnabled() is defined in packages/react-devtools-shared/src/devtools/views/Profiler/useCommitFilteringAndNavigation.js at line 158.
What does setIsCommitFilterEnabled() call?
setIsCommitFilterEnabled() calls 1 function(s): adjustSelectionAfterFilterChange.

Analyze Your Own Codebase

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

Try Supermodel Free