From 8f7088597f324bf6a959ed0f9058bcc2a30abf2c Mon Sep 17 00:00:00 2001 From: Wei Zhu Date: Sun, 3 Feb 2019 23:07:33 +0800 Subject: [PATCH] Remove useMutationEffect Follow up https://github.com/facebook/react/pull/14336 --- src/withHooks.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/withHooks.js b/src/withHooks.js index ad19dae..341330c 100644 --- a/src/withHooks.js +++ b/src/withHooks.js @@ -463,10 +463,6 @@ export function useImperativeMethods(ref, create, inputs) { }, nextInputs); } -export function useMutationEffect(...args) { - return useEffect(...args); -} - export function useLayoutEffect(...args) { return useEffect(...args); }