repo
stringlengths
5
106
file_url
stringlengths
78
301
file_path
stringlengths
4
211
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 14:56:49
2026-01-05 02:23:25
truncated
bool
2 classes
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/env/ExpandEnvVariables.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/env/ExpandEnvVariables.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import ReactDOMClient from 'react-dom/client'; import ExpandEnvVariables from './ExpandEnvVariables'; import ...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/env/FileEnvVariables.js
packages/react-scripts/fixtures/kitchensink/template/src/features/env/FileEnvVariables.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; const FileEnvVariables = () => ( <span> <span id="feature-file-env-original-1"> {process.env.REA...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/env/PublicUrl.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/env/PublicUrl.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import PublicUrl from './PublicUrl'; import ReactDOMClient from 'react-dom/client'; import { flushSync } from...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/env/ShellEnvVariables.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/env/ShellEnvVariables.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import ShellEnvVariables from './ShellEnvVariables'; import ReactDOMClient from 'react-dom/client'; import { ...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/SassInclusion.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/SassInclusion.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import './assets/sass-styles.sass'; const SassInclusion = () => ( <p id="feature-sass-inclusion">We love u...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/SvgInCss.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/SvgInCss.test.js
import React from 'react'; import SvgInCss from './SvgInCss'; import ReactDOMClient from 'react-dom/client'; import { flushSync } from 'react-dom'; describe('svg in css', () => { it('renders without crashing', () => { const div = document.createElement('div'); flushSync(() => { ReactDOMClient.createRoo...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/NoExtInclusion.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/NoExtInclusion.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import NoExtInclusion from './NoExtInclusion'; import ReactDOMClient from 'react-dom/client'; import { flushS...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/ScssInclusion.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/ScssInclusion.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import './assets/scss-styles.scss'; const ScssInclusion = () => ( <p id="feature-scss-inclusion">We love u...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/SassModulesInclusion.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/SassModulesInclusion.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import SassModulesInclusion from './SassModulesInclusion'; import ReactDOMClient from 'react-dom/client'; imp...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/SvgInclusion.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/SvgInclusion.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import logo from './assets/logo.svg'; const SvgInclusion = () => ( <img id="feature-svg-inclusion" src={lo...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/UnknownExtInclusion.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/UnknownExtInclusion.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import aFileWithExtUnknown from './assets/aFileWithExt.unknown'; const text = aFileWithExtUnknown.includes('...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/ImageInclusion.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/ImageInclusion.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import tiniestCat from './assets/tiniest-cat.jpg'; const ImageInclusion = () => ( <img id="feature-image-i...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/CssModulesInclusion.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/CssModulesInclusion.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import styles from './assets/style.module.css'; import indexStyles from './assets/index.module.css'; const C...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/ScssModulesInclusion.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/ScssModulesInclusion.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import styles from './assets/scss-styles.module.scss'; import indexStyles from './assets/index.module.scss'; ...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/SvgInclusion.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/SvgInclusion.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import SvgInclusion from './SvgInclusion'; import ReactDOMClient from 'react-dom/client'; import { flushSync ...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/ImageInclusion.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/ImageInclusion.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import ImageInclusion from './ImageInclusion'; import ReactDOMClient from 'react-dom/client'; import { flushS...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/SvgComponent.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/SvgComponent.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import { ReactComponent as Logo } from './assets/logo.svg'; const SvgComponent = () => { return <Logo id="...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/SvgInCss.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/SvgInCss.js
import React from 'react'; import './assets/svg.css'; const SvgInCss = () => <div id="feature-svg-in-css" />; export default SvgInCss;
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/SassModulesInclusion.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/SassModulesInclusion.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import styles from './assets/sass-styles.module.sass'; import indexStyles from './assets/index.module.sass'; ...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/NoExtInclusion.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/NoExtInclusion.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import aFileWithoutExt from './assets/aFileWithoutExt'; const text = aFileWithoutExt.includes('base64') ? ...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/UnknownExtInclusion.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/UnknownExtInclusion.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import UnknownExtInclusion from './UnknownExtInclusion'; import ReactDOMClient from 'react-dom/client'; impor...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/ScssModulesInclusion.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/ScssModulesInclusion.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import ScssModulesInclusion from './ScssModulesInclusion'; import ReactDOMClient from 'react-dom/client'; imp...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/CssInclusion.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/CssInclusion.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import CssInclusion from './CssInclusion'; import ReactDOMClient from 'react-dom/client'; import { flushSync ...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/LinkedModules.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/LinkedModules.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import './assets/style.css'; import { test, version } from 'test-integrity'; const LinkedModules = () => { ...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/CssInclusion.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/CssInclusion.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import './assets/style.css'; const CssInclusion = () => ( <p id="feature-css-inclusion">We love useless te...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/SassInclusion.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/SassInclusion.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import SassInclusion from './SassInclusion'; import ReactDOMClient from 'react-dom/client'; import { flushSyn...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/DynamicImport.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/DynamicImport.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import ReactDOMClient from 'react-dom/client'; import { flushSync } from 'react-dom'; describe('dynamic impo...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/LinkedModules.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/LinkedModules.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import ReactDOMClient from 'react-dom/client'; import { test, version } from 'test-integrity'; import LinkedM...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/CssModulesInclusion.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/CssModulesInclusion.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import CssModulesInclusion from './CssModulesInclusion'; import ReactDOMClient from 'react-dom/client'; impor...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/JsonInclusion.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/JsonInclusion.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import abstractJson from './assets/abstract.json'; const { abstract } = abstractJson; const JsonInclusion =...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/SvgComponent.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/SvgComponent.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import * as React from 'react'; import SvgComponent, { SvgComponentWithRef } from './SvgComponent'; import ReactDOMClient from 'react-do...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/ScssInclusion.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/ScssInclusion.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import ScssInclusion from './ScssInclusion'; import ReactDOMClient from 'react-dom/client'; import { flushSyn...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/DynamicImport.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/DynamicImport.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; const DynamicImport = () => { return <>Hello World!</>; }; export default DynamicImport;
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/JsonInclusion.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/webpack/JsonInclusion.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import JsonInclusion from './JsonInclusion'; import ReactDOMClient from 'react-dom/client'; import { flushSyn...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/DefaultParameters.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/DefaultParameters.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import DefaultParameters from './DefaultParameters'; import ReactDOMClient from 'react-dom/client'; describe...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/ArrayDestructuring.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/ArrayDestructuring.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import ArrayDestructuring from './ArrayDestructuring'; import ReactDOMClient from 'react-dom/client'; descri...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/Promises.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/Promises.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function load() { return Promise.resolve([ { id: 1,...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/NullishCoalescing.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/NullishCoalescing.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import NullishCoalescing from './NullishCoalescing'; import ReactDOMClient from 'react-dom/client'; describe...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/RestParameters.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/RestParameters.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import RestParameters from './RestParameters'; import ReactDOMClient from 'react-dom/client'; describe('rest...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/NullishCoalescing.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/NullishCoalescing.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function load() { return [ { id: 1, name: '1' }, ...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/ObjectSpread.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/ObjectSpread.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import ObjectSpread from './ObjectSpread'; import ReactDOMClient from 'react-dom/client'; describe('object s...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/TemplateInterpolation.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/TemplateInterpolation.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function load(name) { return [ { id: 1, name: `${na...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/ComputedProperties.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/ComputedProperties.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import ComputedProperties from './ComputedProperties'; import ReactDOMClient from 'react-dom/client'; descri...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/ClassProperties.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/ClassProperties.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import ClassProperties from './ClassProperties'; import ReactDOMClient from 'react-dom/client'; describe('cl...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/ClassProperties.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/ClassProperties.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; export default class ClassProperties extends Component { ...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/AsyncAwait.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/AsyncAwait.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; async function load() { return [ { id: 1, name: '1'...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/DestructuringAndAwait.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/DestructuringAndAwait.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import DestructuringAndAwait from './DestructuringAndAwait'; import ReactDOMClient from 'react-dom/client'; ...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/ObjectSpread.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/ObjectSpread.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function load(baseUser) { return [ { id: 1, name: '...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/ArraySpread.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/ArraySpread.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import ArraySpread from './ArraySpread'; import ReactDOMClient from 'react-dom/client'; describe('array spre...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/OptionalChaining.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/OptionalChaining.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import OptionalChaining from './OptionalChaining'; import ReactDOMClient from 'react-dom/client'; describe('...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/AsyncAwait.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/AsyncAwait.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import AsyncAwait from './AsyncAwait'; import ReactDOMClient from 'react-dom/client'; describe('async/await'...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/ArraySpread.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/ArraySpread.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function load(users) { return [ { id: 1, name: '1' ...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/CustomInterpolation.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/CustomInterpolation.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import CustomInterpolation from './CustomInterpolation'; import ReactDOMClient from 'react-dom/client'; desc...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/Generators.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/Generators.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function* load(limit) { let i = 1; while (i <= limit)...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/ObjectDestructuring.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/ObjectDestructuring.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import ObjectDestructuring from './ObjectDestructuring'; import ReactDOMClient from 'react-dom/client'; desc...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/DefaultParameters.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/DefaultParameters.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function load(id = 0) { return [ { id: id + 1, name...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/Promises.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/Promises.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import ReactDOMClient from 'react-dom/client'; describe('promises', () => { it('renders without crashing',...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/RestAndDefault.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/RestAndDefault.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function load({ id, ...rest } = { id: 0, user: { id: 42, ...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/ObjectDestructuring.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/ObjectDestructuring.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function load() { return [ { id: 1, name: '1' }, ...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/RestParameters.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/RestParameters.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function load({ id = 0, ...rest }) { return [ { id:...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/RestAndDefault.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/RestAndDefault.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import RestAndDefault from './RestAndDefault'; import ReactDOMClient from 'react-dom/client'; describe('rest...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/ComputedProperties.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/ComputedProperties.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function load(prefix) { return [ { id: 1, [`${prefi...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/DestructuringAndAwait.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/DestructuringAndAwait.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; async function load() { return { users: [ { i...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/TemplateInterpolation.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/TemplateInterpolation.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import TemplateInterpolation from './TemplateInterpolation'; import ReactDOMClient from 'react-dom/client'; ...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/Generators.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/Generators.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import Generators from './Generators'; import ReactDOMClient from 'react-dom/client'; describe('generators',...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/ArrayDestructuring.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/ArrayDestructuring.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function load() { return [ [1, '1'], [2, '2'], ...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/OptionalChaining.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/OptionalChaining.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function load() { return [ { id: 1, name: '1' }, ...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/CustomInterpolation.js
packages/react-scripts/fixtures/kitchensink/template/src/features/syntax/CustomInterpolation.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; const styled = ([style]) => style .trim() .spli...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/config/BaseUrl.test.js
packages/react-scripts/fixtures/kitchensink/template/src/features/config/BaseUrl.test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import ReactDOMClient from 'react-dom/client'; import NodePath from './BaseUrl'; describe('BASE_URL', () => ...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/fixtures/kitchensink/template/src/features/config/BaseUrl.js
packages/react-scripts/fixtures/kitchensink/template/src/features/config/BaseUrl.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import load from 'absoluteLoad'; export default class Bas...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/bin/react-scripts.js
packages/react-scripts/bin/react-scripts.js
#!/usr/bin/env node /** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; // Makes the script crash on unhandled rejections instead of silently // ignoring them. In the future...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/config/env.js
packages/react-scripts/config/env.js
// @remove-on-eject-begin /** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ // @remove-on-eject-end 'use strict'; const fs = require('fs'); const path = require('path'); const paths = re...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/config/modules.js
packages/react-scripts/config/modules.js
// @remove-on-eject-begin /** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ // @remove-on-eject-end 'use strict'; const fs = require('fs'); const path = require('path'); const paths = re...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/config/getHttpsConfig.js
packages/react-scripts/config/getHttpsConfig.js
// @remove-on-eject-begin /** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ // @remove-on-eject-end 'use strict'; const fs = require('fs'); const path = require('path'); const crypto = r...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/config/webpackDevServer.config.js
packages/react-scripts/config/webpackDevServer.config.js
// @remove-on-eject-begin /** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ // @remove-on-eject-end 'use strict'; const fs = require('fs'); const evalSourceMapMiddleware = require('react...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/config/webpack.config.js
packages/react-scripts/config/webpack.config.js
// @remove-on-eject-begin /** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ // @remove-on-eject-end 'use strict'; const fs = require('fs'); const path = require('path'); const webpack = ...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/config/paths.js
packages/react-scripts/config/paths.js
// @remove-on-eject-begin /** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ // @remove-on-eject-end 'use strict'; const path = require('path'); const fs = require('fs'); const getPublicU...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/config/jest/fileTransform.js
packages/react-scripts/config/jest/fileTransform.js
'use strict'; const path = require('path'); const camelcase = require('camelcase'); // This is a custom Jest transformer turning file imports into filenames. // http://facebook.github.io/jest/docs/en/webpack.html module.exports = { process(src, filename) { const assetFilename = JSON.stringify(path.basename(fil...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/config/jest/babelTransform.js
packages/react-scripts/config/jest/babelTransform.js
// @remove-on-eject-begin /** * Copyright (c) 2014-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ // @remove-on-eject-end 'use strict'; const babelJest = require('babel-jest').default; const hasJsxRuntime = ...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/config/jest/cssTransform.js
packages/react-scripts/config/jest/cssTransform.js
// @remove-on-eject-begin /** * Copyright (c) 2014-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ // @remove-on-eject-end 'use strict'; // This is a custom Jest transformer turning style imports into empty ob...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-scripts/config/webpack/persistentCache/createEnvironmentHash.js
packages/react-scripts/config/webpack/persistentCache/createEnvironmentHash.js
'use strict'; const { createHash } = require('crypto'); module.exports = env => { const hash = createHash('md5'); hash.update(JSON.stringify(env)); return hash.digest('hex'); };
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/eslint-config-react-app/base.js
packages/eslint-config-react-app/base.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; // Fix eslint shareable config (https://github.com/eslint/eslint/issues/3458) require('@rushstack/eslint-patch/modern-mod...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/eslint-config-react-app/jest.js
packages/eslint-config-react-app/jest.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; // Fix eslint shareable config (https://github.com/eslint/eslint/issues/3458) require('@rushstack/eslint-patch/modern-mod...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/eslint-config-react-app/index.js
packages/eslint-config-react-app/index.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; // Inspired by https://github.com/airbnb/javascript but less opinionated. // We use eslint-loader so even warnings are v...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/cra-template/template/src/App.test.js
packages/cra-template/template/src/App.test.js
import { render, screen } from '@testing-library/react'; import App from './App'; test('renders learn react link', () => { render(<App />); const linkElement = screen.getByText(/learn react/i); expect(linkElement).toBeInTheDocument(); });
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/cra-template/template/src/reportWebVitals.js
packages/cra-template/template/src/reportWebVitals.js
const reportWebVitals = onPerfEntry => { if (onPerfEntry && onPerfEntry instanceof Function) { import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { getCLS(onPerfEntry); getFID(onPerfEntry); getFCP(onPerfEntry); getLCP(onPerfEntry); getTTFB(onPerfEntry); })...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/cra-template/template/src/index.js
packages/cra-template/template/src/index.js
import React from 'react'; import ReactDOM from 'react-dom/client'; import './index.css'; import App from './App'; import reportWebVitals from './reportWebVitals'; const root = ReactDOM.createRoot(document.getElementById('root')); root.render( <React.StrictMode> <App /> </React.StrictMode> ); // If you want t...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/cra-template/template/src/App.js
packages/cra-template/template/src/App.js
import logo from './logo.svg'; import './App.css'; function App() { return ( <div className="App"> <header className="App-header"> <img src={logo} className="App-logo" alt="logo" /> <p> Edit <code>src/App.js</code> and save to reload. </p> <a className="A...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/cra-template/template/src/setupTests.js
packages/cra-template/template/src/setupTests.js
// jest-dom adds custom jest matchers for asserting on DOM nodes. // allows you to do things like: // expect(element).toHaveTextContent(/react/i) // learn more: https://github.com/testing-library/jest-dom import '@testing-library/jest-dom';
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/confusing-browser-globals/index.js
packages/confusing-browser-globals/index.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; module.exports = [ 'addEventListener', 'blur', 'close', 'closed', 'confirm', 'defaultStatus', 'defaultstatu...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/confusing-browser-globals/test.js
packages/confusing-browser-globals/test.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /* eslint-env jest */ 'use strict'; let globals = require('./index'); it('should return an Array of globals', () => { expect(Array....
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-error-overlay/webpack.config.iframe.js
packages/react-error-overlay/webpack.config.iframe.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; const path = require('path'); const webpack = require('webpack'); const TerserPlugin = require('terser-webpack-plugin'); ...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-error-overlay/build.js
packages/react-error-overlay/build.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; const webpack = require('webpack'); const chalk = require('chalk'); const webpackConfig = require('./webpack.config.js'); ...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-error-overlay/webpack.config.js
packages/react-error-overlay/webpack.config.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; const path = require('path'); module.exports = { mode: process.env.NODE_ENV === 'production' ? 'production' : 'developm...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-error-overlay/flow/env.js
packages/react-error-overlay/flow/env.js
declare module 'anser' { declare module.exports: any; } declare module '@babel/code-frame' { declare module.exports: any; } declare module 'html-entities' { declare module.exports: any; } declare module 'settle-promise' { declare module.exports: any; } declare module 'source-map' { declare module.exports:...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-error-overlay/src/iframeScript.js
packages/react-error-overlay/src/iframeScript.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import 'react-app-polyfill/ie9'; import React, { createContext } from 'react'; import ReactDOM from 'react-dom'; import CompileErrorCont...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-error-overlay/src/index.js
packages/react-error-overlay/src/index.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import { listenToRuntimeErrors, crashWithFrames, } from './listenToRuntimeErrors'; import { iframeStyle } from './styles'; import { ...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-error-overlay/src/styles.js
packages/react-error-overlay/src/styles.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /* @flow */ export type Theme = {| // Colors for components styles background: string, // Page background color: string, // Base t...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-error-overlay/src/listenToRuntimeErrors.js
packages/react-error-overlay/src/listenToRuntimeErrors.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import { register as registerError, unregister as unregisterError, } from './effects/unhandledError'; import { register as registe...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false
facebook/create-react-app
https://github.com/facebook/create-react-app/blob/6254386531d263688ccfa542d0e628fbc0de0b28/packages/react-error-overlay/src/components/CodeBlock.js
packages/react-error-overlay/src/components/CodeBlock.js
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /* @flow */ import React, { useContext } from 'react'; import { ThemeContext } from '../iframeScript'; const _preStyle = { position: ...
javascript
MIT
6254386531d263688ccfa542d0e628fbc0de0b28
2026-01-04T14:56:49.538607Z
false