How it works
Brandy compares the current and target layout chains, finds where they diverge, and replaces only that fragment.
- Match the URL to the filesystem route.
- Find the deepest shared layout.
- Render and swap only the changed segment.
Brandy compares the current and target layout chains, finds where they diverge, and replaces only that fragment.