respira/src/hooks
Jan-Henrik Bruhn 7baf03e4f7 refactor: Improve useEffect patterns in AppHeader with usePrevious hook
Replace manual ref tracking with usePrevious custom hook for cleaner,
more maintainable code. Simplifies error state change detection by
eliminating manual ref updates and reducing complexity.

Resolves #36

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-27 11:46:45 +01:00
..
useCanvasViewport.ts fix: Refactor useCanvasViewport to eliminate ESLint hook warnings 2025-12-26 21:49:58 +01:00
useFileUpload.ts refactor: Extract business logic from FileUpload into custom hooks 2025-12-27 11:36:04 +01:00
usePatternRotationUpload.ts fix: Address PR review comments 2025-12-27 11:39:48 +01:00
usePatternTransform.ts fix: Resolve state-during-render anti-pattern in usePatternTransform 2025-12-26 21:33:32 +01:00
usePatternValidation.ts fix: Address PR review comments 2025-12-27 11:39:48 +01:00
usePrevious.ts refactor: Improve useEffect patterns in AppHeader with usePrevious hook 2025-12-27 11:46:45 +01:00