Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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); ```
- Loading branch information