MCPcopy
hub / github.com/tomkp/react-split-pane / UsePersistenceOptions

Interface UsePersistenceOptions

src/persistence.ts:3–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { useEffect, useState } from 'react';
2
3export interface UsePersistenceOptions {
4 key: string;
5 storage?: Storage;
6 debounce?: number;
7}
8
9/**
10 * Hook for persisting pane sizes to localStorage/sessionStorage

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…