Commit 81cea75
Update react to 18 (#1290)
* Upgrade react
* Upgrade depenencies
* new react source
* remove assertions on data-reactroot
see facebook/react#10971
* use React v18's root API
* add TextEncoder library
* use node polyfill plugin & fast-text-encoder
see shakacode/react_on_rails#1457 (comment)
* entry for #1290
---------
Co-authored-by: Mostafa Ahangarha <[email protected]>1 parent a4bd5b3 commit 81cea75
File tree
20 files changed
+1210
-154
lines changed- lib/assets
- javascripts
- react-source
- development
- production
- react-builds
- react_ujs
- dist
- src
- test/react/server_rendering
20 files changed
+1210
-154
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
15 | 14 | | |
16 | | - | |
17 | | - | |
18 | | - | |
| 15 | + | |
| 16 | + | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
| |||
141 | 140 | | |
142 | 141 | | |
143 | 142 | | |
144 | | - | |
145 | | - | |
| 143 | + | |
146 | 144 | | |
147 | | - | |
| 145 | + | |
| 146 | + | |
148 | 147 | | |
149 | 148 | | |
150 | 149 | | |
| |||
157 | 156 | | |
158 | 157 | | |
159 | 158 | | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
| 159 | + | |
164 | 160 | | |
165 | 161 | | |
166 | 162 | | |
| |||
185 | 181 | | |
186 | 182 | | |
187 | 183 | | |
188 | | - | |
189 | 184 | | |
190 | 185 | | |
191 | 186 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | 89 | | |
91 | 90 | | |
92 | 91 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments