This documentation is coming soon. The pattern is implemented in the starter app.
Problem
Users want to explore different conversation directions without losing context.Solution
Implement a tree structure for messages with parent references, allowing users to branch off at any point.Implementation Overview
- Data Model: Messages store
parentIdfor tree structure - Navigation: UI for switching between branches
- Context: Proper history construction when loading branches