Home / File/ index.js — react Source File

index.js — react Source File

Architecture documentation for index.js, a javascript file in the react codebase.

Entity Profile

Relationship Graph

Source Code

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
Object.defineProperty(exports, "ComponentUsingHooksIndirectly", {
  enumerable: true,
  get: function () {
    return _ComponentUsingHooksIndirectly.Component;
  }
});
Object.defineProperty(exports, "ComponentWithCustomHook", {
  enumerable: true,
  get: function () {
    return _ComponentWithCustomHook.Component;
  }
});
Object.defineProperty(exports, "ComponentWithExternalCustomHooks", {
  enumerable: true,
  get: function () {
    return _ComponentWithExternalCustomHooks.Component;
  }
});
Object.defineProperty(exports, "ComponentWithMultipleHooksPerLine", {
  enumerable: true,
  get: function () {
    return _ComponentWithMultipleHooksPerLine.Component;
  }
});
Object.defineProperty(exports, "ComponentWithNestedHooks", {
  enumerable: true,
  get: function () {
    return _ComponentWithNestedHooks.Component;
  }
});
Object.defineProperty(exports, "ContainingStringSourceMappingURL", {
  enumerable: true,
  get: function () {
    return _ContainingStringSourceMappingURL.Component;
  }
});
Object.defineProperty(exports, "Example", {
  enumerable: true,
  get: function () {
    return _Example.Component;
  }
});
Object.defineProperty(exports, "InlineRequire", {
  enumerable: true,
  get: function () {
    return _InlineRequire.Component;
  }
});
Object.defineProperty(exports, "useTheme", {
  enumerable: true,
  get: function () {
    return _useTheme.default;
  }
});
exports.ToDoList = void 0;

var _ComponentUsingHooksIndirectly = require("./ComponentUsingHooksIndirectly");

var _ComponentWithCustomHook = require("./ComponentWithCustomHook");

var _ComponentWithExternalCustomHooks = require("./ComponentWithExternalCustomHooks");

var _ComponentWithMultipleHooksPerLine = require("./ComponentWithMultipleHooksPerLine");

var _ComponentWithNestedHooks = require("./ComponentWithNestedHooks");

var _ContainingStringSourceMappingURL = require("./ContainingStringSourceMappingURL");

var _Example = require("./Example");

var _InlineRequire = require("./InlineRequire");

var ToDoList = _interopRequireWildcard(require("./ToDoList"));

exports.ToDoList = ToDoList;

var _useTheme = _interopRequireDefault(require("./useTheme"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }

function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
//# sourceMappingURL=index.js.map?foo=bar&param=some_value

Domain

Subdomains

Frequently Asked Questions

What does index.js do?
index.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain, Validation subdomain.
What functions are defined in index.js?
index.js defines 3 function(s): _getRequireWildcardCache, _interopRequireDefault, _interopRequireWildcard.
Where is index.js in the architecture?
index.js is located at packages/react-devtools-shared/src/hooks/__tests__/__source__/__compiled__/external/fb-sources-extended/index.js (domain: BabelCompiler, subdomain: Validation, directory: packages/react-devtools-shared/src/hooks/__tests__/__source__/__compiled__/external/fb-sources-extended).

Analyze Your Own Codebase

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

Try Supermodel Free