Commit 6bdf837
committed
fix(compiler): use globalThis.Symbol to prevent shadowing by user components
1 parent 88ee1f5 commit 6bdf837
File tree
2 files changed
+29
-2
lines changed- compiler/packages/babel-plugin-react-compiler/src
- ReactiveScopes
- __tests__/fixtures/compiler
2 files changed
+29
-2
lines changedLines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
748 | 748 | | |
749 | 749 | | |
750 | 750 | | |
751 | | - | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
752 | 758 | | |
753 | 759 | | |
754 | 760 | | |
| |||
968 | 974 | | |
969 | 975 | | |
970 | 976 | | |
971 | | - | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
972 | 984 | | |
973 | 985 | | |
974 | 986 | | |
| |||
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments