You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8fbe558
Browse filesBrowse the repository at this point in the historyBrowse files
perf(core): move property remapping for dom properties to compiler (#62421)
Since we know that DOM properties won't go to an inputs, we can move the remapping logic to the compiler, saving us some processing on the client.
PR Close#62421
Copy file name to clipboardExpand all lines: packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_bindings/attribute_bindings/duplicate_bindings.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ template: function MyComponent_Template(rf, ctx) {
Copy file name to clipboardExpand all lines: packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_bindings/property_bindings/GOLDEN_PARTIAL.js
+34-7Lines changed: 34 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -166,7 +166,7 @@ export declare class MyModule {
Copy file name to clipboardExpand all lines: packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_bindings/property_bindings/TEST_CASES.json
+17-3Lines changed: 17 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -44,15 +44,29 @@
44
44
]
45
45
},
46
46
{
47
-
"description": "should not remap property names whose names do not correspond to their attribute names",
47
+
"description": "should not remap special property names when outputting property instructions",
48
48
"inputFiles": [
49
-
"special_property_remapping.ts"
49
+
"special_property_remapping_property.ts"
50
50
],
51
51
"expectations": [
52
52
{
53
53
"failureMessage": "Incorrect template",
54
54
"files": [
55
-
"special_property_remapping.js"
55
+
"special_property_remapping_property.js"
56
+
]
57
+
}
58
+
]
59
+
},
60
+
{
61
+
"description": "should remap special property names when outputting domProperty instructions",
Copy file name to clipboardExpand all lines: packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_bindings/property_bindings/sanitization.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ template: function MyComponent_Template(rf, ctx) {
0 commit comments