Commit 331df83
authored
fix(react): Compatibility with React 18
* Bump `@xstate/react` to `^3.0.0`
* Add bunch of debug console logs
* Solution first draft
* Remove debugger
* Remove one more debug statement
* Remove _state from destructures
* AuthMachineSend type fix
* Pin @xstate/react
* Revert spacing diffs
* Update comments
* More comment updates
* Update AuthInterpreter type
* Create green-cooks-clap.md
* Add comment for anys
* Remove getSnapshot parameteruseSyncExternalStore hook (#1798)1 parent 3729ac8 commit 331df83
File tree
5 files changed
+36
-46
lines changed- .changeset
- packages
- react
- src/components/Authenticator/hooks/useAuthenticator
- ui/src/types/authenticator/stateMachine
5 files changed
+36
-46
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
Lines changed: 9 additions & 38 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
125 | | - | |
126 | | - | |
| 124 | + | |
| 125 | + | |
127 | 126 | | |
128 | | - | |
129 | | - | |
| 127 | + | |
130 | 128 | | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
| 129 | + | |
138 | 130 | | |
139 | 131 | | |
140 | 132 | | |
141 | 133 | | |
142 | 134 | | |
143 | 135 | | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
| 136 | + | |
| 137 | + | |
152 | 138 | | |
153 | 139 | | |
154 | 140 | | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | 141 | | |
171 | 142 | | |
172 | 143 | | |
| |||
179 | 150 | | |
180 | 151 | | |
181 | 152 | | |
182 | | - | |
| 153 | + | |
183 | 154 | | |
184 | 155 | | |
185 | | - | |
| 156 | + | |
186 | 157 | | |
187 | | - | |
| 158 | + | |
188 | 159 | | |
189 | 160 | | |
190 | 161 | | |
| |||
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
13 | 21 | | |
14 | 22 | | |
15 | 23 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments