MCPcopy Index your code
hub / github.com/react/react / getProfilingSettings

Function getProfilingSettings

packages/react-devtools-shared/src/utils.js:1277–1285  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1275}
1276
1277export function getProfilingSettings(): ProfilingSettings {
1278 return {
1279 recordChangeDescriptions:
1280 sessionStorageGetItem(SESSION_STORAGE_RECORD_CHANGE_DESCRIPTIONS_KEY) ===
1281 'true',
1282 recordTimeline:
1283 sessionStorageGetItem(SESSION_STORAGE_RECORD_TIMELINE_KEY) === 'true',
1284 };
1285}
1286
1287export function onReloadAndProfile(
1288 recordChangeDescriptions: boolean,

Callers 1

installHook.jsFile · 0.90

Calls 1

sessionStorageGetItemFunction · 0.90

Tested by

no test coverage detected