Home / Function/ syncReactNativeHelper() — react Function Reference

syncReactNativeHelper() — react Function Reference

Architecture documentation for the syncReactNativeHelper() function in sync.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  1a52ee14_c49a_9756_c75e_4c4da6723895["syncReactNativeHelper()"]
  49203724_960c_c431_df58_f1a0bae56e21["sync.js"]
  1a52ee14_c49a_9756_c75e_4c4da6723895 -->|defined in| 49203724_960c_c431_df58_f1a0bae56e21
  23e80e9d_d03b_33c0_c906_8486d11bf384["syncReactNative()"]
  23e80e9d_d03b_33c0_c906_8486d11bf384 -->|calls| 1a52ee14_c49a_9756_c75e_4c4da6723895
  24c690bc_3230_698f_a021_76c9780dc408["doSync()"]
  1a52ee14_c49a_9756_c75e_4c4da6723895 -->|calls| 24c690bc_3230_698f_a021_76c9780dc408
  style 1a52ee14_c49a_9756_c75e_4c4da6723895 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

scripts/rollup/sync.js lines 30–44

async function syncReactNativeHelper(
  buildPath,
  fbSourcePath,
  relativeDestPath
) {
  fbSourcePath =
    typeof fbSourcePath === 'string' ? fbSourcePath : DEFAULT_FB_SOURCE_PATH;

  if (fbSourcePath.charAt(fbSourcePath.length - 1) !== '/') {
    fbSourcePath += '/';
  }

  const destPath = resolvePath(fbSourcePath + relativeDestPath);
  await doSync(buildPath, destPath);
}

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does syncReactNativeHelper() do?
syncReactNativeHelper() is a function in the react codebase, defined in scripts/rollup/sync.js.
Where is syncReactNativeHelper() defined?
syncReactNativeHelper() is defined in scripts/rollup/sync.js at line 30.
What does syncReactNativeHelper() call?
syncReactNativeHelper() calls 1 function(s): doSync.
What calls syncReactNativeHelper()?
syncReactNativeHelper() is called by 1 function(s): syncReactNative.

Analyze Your Own Codebase

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

Try Supermodel Free