core
core copied to clipboard
fix(compile-core): track KeepAlive as block inside v-for
close #12914
Summary by CodeRabbit
-
Bug Fixes
- Improved handling of components wrapped in KeepAlive inside v-for loops so they are tracked and lifecycle-managed correctly even when fragments are stable.
-
Tests
- Added a test verifying KeepAlive children are properly unmounted and remounted when dynamically switched within a keyed list wrapped by a stable fragment.
Looks like there are a few issues preventing this PR from being merged!
- GitHub Actions are failing:
- Run Python Unit Tests
If you'd like me to help, just leave a comment, like
@OpenHands please fix the failing actions on PR #8785
Feel free to include any additional details that might help me get this PR into a better state.
You can manage your notification settings