Home / Function/ getHostProps() — react Function Reference

getHostProps() — react Function Reference

Architecture documentation for the getHostProps() function in ReactNativeFiberInspector.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  58cbc34d_7538_2bb7_3a44_4be6679d8639["getHostProps()"]
  b96e6f5e_b1ed_ae54_d2fa_ae1632468aa8["ReactNativeFiberInspector.js"]
  58cbc34d_7538_2bb7_3a44_4be6679d8639 -->|defined in| b96e6f5e_b1ed_ae54_d2fa_ae1632468aa8
  9cfaa716_ad4d_47af_982b_53e1f7df89d7["createHierarchy()"]
  9cfaa716_ad4d_47af_982b_53e1f7df89d7 -->|calls| 58cbc34d_7538_2bb7_3a44_4be6679d8639
  style 58cbc34d_7538_2bb7_3a44_4be6679d8639 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-native-renderer/src/ReactNativeFiberInspector.js lines 80–86

  const getHostProps = function (fiber: Fiber) {
    const host = findCurrentHostFiber(fiber);
    if (host) {
      return host.memoizedProps || emptyObject;
    }
    return emptyObject;
  };

Domain

Subdomains

Called By

Frequently Asked Questions

What does getHostProps() do?
getHostProps() is a function in the react codebase, defined in packages/react-native-renderer/src/ReactNativeFiberInspector.js.
Where is getHostProps() defined?
getHostProps() is defined in packages/react-native-renderer/src/ReactNativeFiberInspector.js at line 80.
What calls getHostProps()?
getHostProps() is called by 1 function(s): createHierarchy.

Analyze Your Own Codebase

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

Try Supermodel Free