Files
Kyle Fang bbf30d8b34 wip: refactor spa-hooks to use useSyncExternalStore and immer
- Replace context-based state management with useSyncExternalStore
- Add immer for immutable state updates
- Implement selector-based API for better performance
- Add TgProvider to track current chat context
- Strong typing support with TgGlobalState interface

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 22:59:38 +08:00
..