ra-core
Version:
Core components of react-admin, a frontend Framework for building admin applications on top of REST services, using ES6, React
13 lines • 379 B
TypeScript
/**
* Debug hook showing which props updated between two renders
* @example
*
* const MyComponent = React.memo(props => {
* useWhyDidYouUpdate('MyComponent', props);
* return <div...;
* });
*
* @link https://usehooks.com/useWhyDidYouUpdate/
*/
export default function useWhyDidYouUpdate(name: any, props: any): void;
//# sourceMappingURL=useWhyDidYouUpdate.d.ts.map