UNPKG

@googleforcreators/react

Version:

A tiny wrapper package that re-exports React and provides additional utilities and custom hooks.

13 lines 473 B
/** * Hook to see which prop changes are causing a component to re-render. * * Only used for development, and removed for production builds. * * @see https://github.com/gragland/usehooks * @param name Component name. * @param props Component props. */ declare function useWhyDidYouUpdate(name: string, props: Record<string, unknown>): void; declare const _default: typeof useWhyDidYouUpdate; export default _default; //# sourceMappingURL=useWhyDidYouUpdate.d.ts.map