Add doc to script file

This commit is contained in:
2025-11-27 20:09:58 +00:00
parent 312bb911bc
commit 032b966a9d
18 changed files with 189 additions and 2 deletions

View File

@@ -1,3 +1,14 @@
/**
* Application State Hook
*
* Manages global application state with localStorage persistence.
* Provides type-safe state updates for nested objects and automatic
* state saving on changes.
*
* @author Andreas Weyer
* @license MIT
*/
import React from 'react';
import { LOCAL_STORAGE_KEY, getDefaultState, type AppState } from '../constants/defaults';