UnserializableProps.js — react Source File
Architecture documentation for UnserializableProps.js, a javascript file in the react codebase. 2 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 96987b9c_f1f4_7eeb_ed65_99d35ff9845e["UnserializableProps.js"] ac587885_e294_a1e9_b13f_5e7b920fdb42["react"] 96987b9c_f1f4_7eeb_ed65_99d35ff9845e --> ac587885_e294_a1e9_b13f_5e7b920fdb42 33b40a85_9e1b_72f2_3e06_2ad6c13d6834["immutable"] 96987b9c_f1f4_7eeb_ed65_99d35ff9845e --> 33b40a85_9e1b_72f2_3e06_2ad6c13d6834 ee521c92_6aea_ed48_b3b2_59ca21d468e3["InspectableElements.js"] ee521c92_6aea_ed48_b3b2_59ca21d468e3 --> 96987b9c_f1f4_7eeb_ed65_99d35ff9845e style 96987b9c_f1f4_7eeb_ed65_99d35ff9845e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
import * as React from 'react';
import Immutable from 'immutable';
const set = new Set(['abc', 123]);
const map = new Map([
['name', 'Brian'],
['food', 'sushi'],
]);
const setOfSets = new Set([new Set(['a', 'b', 'c']), new Set([1, 2, 3])]);
const mapOfMaps = new Map([
['first', map],
['second', map],
]);
const typedArray = Int8Array.from([100, -100, 0]);
const arrayBuffer = typedArray.buffer;
const dataView = new DataView(arrayBuffer);
const immutable = Immutable.fromJS({
a: [{hello: 'there'}, 'fixed', true],
b: 123,
c: {
'1': 'xyz',
xyz: 1,
},
});
const bigInt = BigInt(123);
class Foo {
flag = false;
object: Object = {
a: {b: {c: {d: 1}}},
};
}
export default function UnserializableProps(): React.Node {
return (
<ChildComponent
arrayBuffer={arrayBuffer}
dataView={dataView}
map={map}
set={set}
mapOfMaps={mapOfMaps}
setOfSets={setOfSets}
typedArray={typedArray}
immutable={immutable}
bigInt={bigInt}
classInstance={new Foo()}
/>
);
}
function ChildComponent(props: any) {
return (
<>
<div>{props.bigInt}</div>
</>
);
}
Domain
Subdomains
Functions
Classes
Dependencies
- immutable
- react
Source
Frequently Asked Questions
What does UnserializableProps.js do?
UnserializableProps.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 UnserializableProps.js?
UnserializableProps.js defines 2 function(s): ChildComponent, UnserializableProps.
What does UnserializableProps.js depend on?
UnserializableProps.js imports 2 module(s): immutable, react.
What files import UnserializableProps.js?
UnserializableProps.js is imported by 1 file(s): InspectableElements.js.
Where is UnserializableProps.js in the architecture?
UnserializableProps.js is located at packages/react-devtools-shell/src/app/InspectableElements/UnserializableProps.js (domain: BabelCompiler, subdomain: Validation, directory: packages/react-devtools-shell/src/app/InspectableElements).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free