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

Function sessionStorageGetItem

packages/react-devtools-shared/src/storage.js:30–36  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

28}
29
30export function sessionStorageGetItem(key: string): any {
31 try {
32 return sessionStorage.getItem(key);
33 } catch (error) {
34 return null;
35 }
36}
37
38export function sessionStorageRemoveItem(key: string): void {
39 try {

Callers 3

getProfilingSettingsFunction · 0.90
constructorMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected