Home / File/ ReactVersions.js — react Source File

ReactVersions.js — react Source File

Architecture documentation for ReactVersions.js, a javascript file in the react codebase. 0 imports, 3 dependents.

Entity Profile

Dependency Diagram

graph LR
  c2945cf4_a916_9f3b_61d2_fd38683ed088["ReactVersions.js"]
  b139f981_ae09_68e0_da47_94ab791ceff1["preprocessData-test.js"]
  b139f981_ae09_68e0_da47_94ab791ceff1 --> c2945cf4_a916_9f3b_61d2_fd38683ed088
  864e51a6_ed76_a404_0e93_b37fa86504d8["store-test.js"]
  864e51a6_ed76_a404_0e93_b37fa86504d8 --> c2945cf4_a916_9f3b_61d2_fd38683ed088
  7ea1760e_9c01_71c9_3ba5_32a9a10a0ce4["utils.js"]
  7ea1760e_9c01_71c9_3ba5_32a9a10a0ce4 --> c2945cf4_a916_9f3b_61d2_fd38683ed088
  style c2945cf4_a916_9f3b_61d2_fd38683ed088 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

'use strict';

// This module is the single source of truth for versioning packages that we
// publish to npm.
//
// Packages will not be published unless they are added here.
//
// The @latest channel uses the version as-is, e.g.:
//
//   19.3.0
//
// The @canary channel appends additional information, with the scheme
// <version>-<label>-<commit_sha>, e.g.:
//
//   19.3.0-canary-a1c2d3e4
//
// The @experimental channel doesn't include a version, only a date and a sha, e.g.:
//
//   0.0.0-experimental-241c4467e-20200129

const ReactVersion = '19.3.0';

// The label used by the @canary channel. Represents the upcoming release's
// stability. Most of the time, this will be "canary", but we may temporarily
// choose to change it to "alpha", "beta", "rc", etc.
//
// It only affects the label used in the version string. To customize the
// npm dist tags used during publish, refer to .github/workflows/runtime_prereleases_*.yml.
const canaryChannelLabel = 'canary';

// If the canaryChannelLabel is "rc", the build pipeline will use this to build
// an RC version of the packages.
const rcNumber = 0;

const stablePackages = {
  'eslint-plugin-react-hooks': '7.1.0',
  'jest-react': '0.18.0',
  react: ReactVersion,
  'react-art': ReactVersion,
  'react-dom': ReactVersion,
  'react-server-dom-webpack': ReactVersion,
  'react-server-dom-turbopack': ReactVersion,
  'react-server-dom-parcel': ReactVersion,
  'react-is': ReactVersion,
  'react-reconciler': '0.34.0',
  'react-refresh': '0.19.0',
  'react-test-renderer': ReactVersion,
  'use-subscription': '1.13.0',
  'use-sync-external-store': '1.7.0',
  scheduler: '0.28.0',
};

// These packages do not exist in the @canary or @latest channel, only
// @experimental. We don't use semver, just the commit sha, so this is just a
// list of package names instead of a map.
const experimentalPackages = ['react-markup'];

module.exports = {
  ReactVersion,
  canaryChannelLabel,
  rcNumber,
  stablePackages,
  experimentalPackages,
};

Domain

Frequently Asked Questions

What does ReactVersions.js do?
ReactVersions.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain.
What files import ReactVersions.js?
ReactVersions.js is imported by 3 file(s): preprocessData-test.js, store-test.js, utils.js.
Where is ReactVersions.js in the architecture?
ReactVersions.js is located at ReactVersions.js (domain: BabelCompiler).

Analyze Your Own Codebase

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

Try Supermodel Free