# refdataQueryKey

## Query Key Generator Utility
A standardized query key factory function for reference data management within the `stripes-kint-components` ecosystem. Ensures consistent cache key structure across all reference data operations.

## Basic Usage
```jsx
// Get base refdata key
const baseKey = refdataQueryKey(); 
// => ['stripes-kint-components', 'refdata']

// Get category-specific key
const licenseKey = refdataQueryKey('license_types');
// => ['stripes-kint-components', 'refdata', 'license_types']
```

## Parameters
| Parameter | Type   | Required | Default | Description                        |
|-----------|--------|----------|---------|------------------------------------|
| `desc`    | string | ✕        | -       | Reference data category descriptor |

## Return Value Structure
```js
['stripes-kint-components', 'refdata', ...(desc ? [desc] : [])]
```

## Integration Pattern
Used with React Query operations and cache management:
```jsx
// Query
useQuery(
  refdataQueryKey('media_formats'),
  fetchRefdataFunction
);

// Invalidation
queryClient.invalidateQueries(refdataQueryKey('media_formats'));
```
