Commit 6c2a680
committed
Limit the meaning of "custom element" to not include
Effectively this means that you can't use custom properties/events, other
than the ones React knows about on `is` extensions.
This is unfortunate but there's too many paths that are forked in
inconsistent ways. I think the solution is to let all React elements set
unknown properties in the same way as this flag but that's a bigger change
than this flag implies.
Since `is` is not universally supported yet anyway, this doesn't seem like
a huge loss.
Attributes still work.is
1 parent a09a9ca commit 6c2a680
File tree
5 files changed
+10
-6
lines changed- packages
- react-dom-bindings/src
- client
- server
- react-dom/src/__tests__
5 files changed
+10
-6
lines changedLines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
657 | 657 | | |
658 | 658 | | |
659 | 659 | | |
660 | | - | |
661 | 660 | | |
662 | 661 | | |
663 | 662 | | |
| |||
952 | 951 | | |
953 | 952 | | |
954 | 953 | | |
955 | | - | |
956 | 954 | | |
957 | 955 | | |
958 | 956 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2604 | 2604 | | |
2605 | 2605 | | |
2606 | 2606 | | |
2607 | | - | |
| 2607 | + | |
2608 | 2608 | | |
2609 | 2609 | | |
2610 | 2610 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
| 311 | + | |
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
669 | 669 | | |
670 | 670 | | |
671 | 671 | | |
672 | | - | |
| 672 | + | |
673 | 673 | | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
674 | 680 | | |
675 | 681 | | |
676 | 682 | | |
| |||
0 commit comments