8 lines
309 B
TypeScript
8 lines
309 B
TypeScript
import * as React from 'react';
|
|
/**
|
|
* Run an effect only after the first render.
|
|
*
|
|
* @param effect The effect to run after the first render
|
|
* @param deps The dependencies for the effect
|
|
*/
|
|
export declare function useEffectAfterFirstRender(effect: React.EffectCallback, deps?: React.DependencyList): void; |