main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
353 bytes
|
Line | |
---|
1 | import { DependencyList, EffectCallback } from 'react';
|
---|
2 | declare type DepsEqualFnType<TDeps extends DependencyList> = (prevDeps: TDeps, nextDeps: TDeps) => boolean;
|
---|
3 | declare const useCustomCompareEffect: <TDeps extends DependencyList>(effect: EffectCallback, deps: TDeps, depsEqual: DepsEqualFnType<TDeps>) => void;
|
---|
4 | export default useCustomCompareEffect;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.