Commit 170e8dc
refactor execSelector
This commit fully separates the normalization of `class` and `className` from the merging of `vnode.attrs` and `vnode.state.attrs`, which were previously handled together in the same code path.
This simplifies conditional branches and improves bundle size and performance.1 parent ca72c73 commit 170e8dc
1 file changed
Lines changed: 7 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
| 60 | + | |
58 | 61 | | |
59 | 62 | | |
60 | | - | |
| 63 | + | |
61 | 64 | | |
62 | | - | |
63 | | - | |
64 | | - | |
| 65 | + | |
65 | 66 | | |
66 | | - | |
67 | | - | |
68 | 67 | | |
69 | 68 | | |
70 | | - | |
71 | | - | |
72 | 69 | | |
73 | 70 | | |
74 | 71 | | |
| |||
0 commit comments