@samitouri / QOS-React-2 / commits / 434110390a

ReactHooks.js - delete emptyObject (#25031)

It's not mentioned in docs and never used by projects.. should be removed..

Igor Berlenko committed Sep 30, 2022 at 23:29 UTC 434110390a444bac81efe9ab44364d94b37cbe43
1 file changed -2
packages/react/src/ReactHooks.js
-2
@@ -158,8 +158,6 @@ export function useDebugValue<T>(
158 }
159 }
160
161 -export const emptyObject = {};
162 -
161 export function useTransition(): [
162 boolean,
163 (callback: () => void, options?: StartTransitionOptions) => void,