diff --git a/packages/mui-utils/src/useEventCallback/useEventCallback.ts b/packages/mui-utils/src/useEventCallback/useEventCallback.ts index babd9a5efccfd4..398945443adc90 100644 --- a/packages/mui-utils/src/useEventCallback/useEventCallback.ts +++ b/packages/mui-utils/src/useEventCallback/useEventCallback.ts @@ -3,7 +3,8 @@ import * as React from 'react'; import useEnhancedEffect from '../useEnhancedEffect'; /** - * https://github.com/facebook/react/issues/14099#issuecomment-440013892 + * Inspired by https://github.com/facebook/react/issues/14099#issuecomment-440013892 + * See RFC in https://github.com/reactjs/rfcs/pull/220 */ function useEventCallback any = (...args: unknown[]) => unknown>( fn: Fn,