Commit Graph

9 Commits

Author SHA1 Message Date
Kyle Fang
72ab464868 fix: example 2025-06-30 21:40:01 +08:00
Kyle Fang
782b63fced fix: resolve TypeScript errors in reconciler and mtcute-adapter
- Update MTCute imports to use correct types from @mtcute/tl
- Fix MessageEntity construction with proper discriminated union types
- Fix callback query data handling for string/Uint8Array
- Update inline keyboard markup structure
- Fix reconciler host config type issues
- Add @ts-expect-error for complex React reconciler types

Note: One persistence mode test is still failing - static content
in formatted elements loses children on re-render. This appears
to be a complex issue with how React's persistence mode handles
child reconciliation.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-30 20:58:50 +08:00
Kyle Fang
f404bb9af0 fix: compile 2025-06-30 20:46:14 +08:00
Kyle Fang
4d535a30d2 wip 2025-06-30 20:43:16 +08:00
Kyle Fang
6695d8c008 feat: add onRenderContainer 2025-06-30 20:20:06 +08:00
Kyle Fang
44559d345c fix: preserve static content in persistence mode during re-renders
- Update cloneInstance to properly handle keepChildren parameter
- Fix static content (bold, blockquote) losing children on re-render
- Add comprehensive tests for persistence mode behavior
- Ensure dynamic content updates while static content is preserved

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-30 19:40:18 +08:00
Kyle Fang
435696b86e feat: update types package 2025-06-30 18:49:25 +08:00
Kyle Fang
7469aa0ebf inital working version 2025-06-30 18:41:06 +08:00
Kyle Fang
cd355a4a1d chore: init 2025-06-30 18:01:23 +08:00