useUpdateEffect = function useUpdateEffect(effect, deps) {
  var firstRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(true);
  var isFirstMount = firstRef.current;
  Object(react__WEBPACK_IMPORTED_MODULE_0__["useEffect"])(function () {
    if (!isFirstMount) {
      return effect();
    } else {
      firstRef.current = false;
    }
  }, deps);
}
Acts as a react useEffect that does not run on first render.

@example
useUpdateEffect(()=>{...}, [foo])
1st Render: NO CALL
foo changes: GETS CALLED