Commit e3cf3d5
committed
Fix unstable_useContextWithBailout dispatcher assignment (#30692)
One more copy pasta fix
Assignments are unique now
```
% cat packages/react-reconciler/src/ReactFiberHooks.js | grep .unstable_useContextWithBailout
function unstable_useContextWithBailout<T>(
(ContextOnlyDispatcher: Dispatcher).unstable_useContextWithBailout =
(HooksDispatcherOnMount: Dispatcher).unstable_useContextWithBailout =
unstable_useContextWithBailout;
(HooksDispatcherOnUpdate: Dispatcher).unstable_useContextWithBailout =
unstable_useContextWithBailout;
(HooksDispatcherOnRerender: Dispatcher).unstable_useContextWithBailout =
unstable_useContextWithBailout;
(HooksDispatcherOnMountInDEV: Dispatcher).unstable_useContextWithBailout =
return unstable_useContextWithBailout(context, select);
(HooksDispatcherOnMountWithHookTypesInDEV: Dispatcher).unstable_useContextWithBailout =
return unstable_useContextWithBailout(context, select);
(HooksDispatcherOnUpdateInDEV: Dispatcher).unstable_useContextWithBailout =
return unstable_useContextWithBailout(context, select);
(HooksDispatcherOnRerenderInDEV: Dispatcher).unstable_useContextWithBailout =
return unstable_useContextWithBailout(context, select);
(InvalidNestedHooksDispatcherOnMountInDEV: Dispatcher).unstable_useContextWithBailout =
return unstable_useContextWithBailout(context, select);
(InvalidNestedHooksDispatcherOnUpdateInDEV: Dispatcher).unstable_useContextWithBailout =
return unstable_useContextWithBailout(context, select);
(InvalidNestedHooksDispatcherOnRerenderInDEV: Dispatcher).unstable_useContextWithBailout =
return unstable_useContextWithBailout(context, select);
```
DiffTrain build for [0ad0fac](0ad0fac)1 parent b903fc0 commit e3cf3d5
File tree
34 files changed
+94
-94
lines changed- compiled/facebook-www
34 files changed
+94
-94
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2001 | 2001 | | |
2002 | 2002 | | |
2003 | 2003 | | |
2004 | | - | |
| 2004 | + | |
2005 | 2005 | | |
2006 | 2006 | | |
2007 | 2007 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1981 | 1981 | | |
1982 | 1982 | | |
1983 | 1983 | | |
1984 | | - | |
| 1984 | + | |
1985 | 1985 | | |
1986 | 1986 | | |
1987 | 1987 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
665 | 665 | | |
666 | 666 | | |
667 | 667 | | |
668 | | - | |
| 668 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
665 | 665 | | |
666 | 666 | | |
667 | 667 | | |
668 | | - | |
| 668 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
669 | 669 | | |
670 | 670 | | |
671 | 671 | | |
672 | | - | |
| 672 | + | |
673 | 673 | | |
674 | 674 | | |
675 | 675 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
669 | 669 | | |
670 | 670 | | |
671 | 671 | | |
672 | | - | |
| 672 | + | |
673 | 673 | | |
674 | 674 | | |
675 | 675 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15751 | 15751 | | |
15752 | 15752 | | |
15753 | 15753 | | |
15754 | | - | |
| 15754 | + | |
15755 | 15755 | | |
15756 | 15756 | | |
15757 | 15757 | | |
| |||
16776 | 16776 | | |
16777 | 16777 | | |
16778 | 16778 | | |
16779 | | - | |
| 16779 | + | |
16780 | 16780 | | |
16781 | 16781 | | |
16782 | 16782 | | |
16783 | | - | |
| 16783 | + | |
16784 | 16784 | | |
16785 | 16785 | | |
16786 | 16786 | | |
| |||
16814 | 16814 | | |
16815 | 16815 | | |
16816 | 16816 | | |
16817 | | - | |
| 16817 | + | |
16818 | 16818 | | |
16819 | 16819 | | |
16820 | 16820 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15155 | 15155 | | |
15156 | 15156 | | |
15157 | 15157 | | |
15158 | | - | |
| 15158 | + | |
15159 | 15159 | | |
15160 | 15160 | | |
15161 | 15161 | | |
| |||
16189 | 16189 | | |
16190 | 16190 | | |
16191 | 16191 | | |
16192 | | - | |
| 16192 | + | |
16193 | 16193 | | |
16194 | 16194 | | |
16195 | 16195 | | |
16196 | | - | |
| 16196 | + | |
16197 | 16197 | | |
16198 | 16198 | | |
16199 | 16199 | | |
| |||
16227 | 16227 | | |
16228 | 16228 | | |
16229 | 16229 | | |
16230 | | - | |
| 16230 | + | |
16231 | 16231 | | |
16232 | 16232 | | |
16233 | 16233 | | |
| |||
0 commit comments