Commit 2a477e8
committed
fix(compiler-ssr): runtime filter transition props in TransitionGroup SSR
Add isTransition parameter to ssrRenderAttrs to filter transition-specific props at runtime, preserving valid attributes (id, data-*, etc.) while removing transition props (name, moveClass, appear, etc.).
- Add isTransition parameter to ssrRenderAttrs function
- Update TransitionGroup SSR transform to pass isTransition=true flag
- Handle both cases: with component props and _attrs-only
- Filter transition props in runtime for both camelCase and kebab-case
- Add comprehensive tests for transition prop filtering
- Update all existing TransitionGroup SSR test snapshots1 parent 5590203 commit 2a477e8
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
227 | 229 | | |
228 | 230 | | |
229 | 231 | | |
| |||
0 commit comments