MCPcopy
hub / github.com/facebook/react / serializeByValueID

Function serializeByValueID

packages/react-client/src/ReactFlightReplyClient.js:100–102  ·  view source on GitHub ↗
(id: number)

Source from the content-addressed store, hash-verified

98const __PROTO__ = '__proto__';
99
100function serializeByValueID(id: number): string {
101 return '$' + id.toString(16);
102}
103
104function serializePromiseID(id: number): string {
105 return '$@' + id.toString(16);

Callers 2

resolveToJSONFunction · 0.70
serializeModelFunction · 0.70

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected