use-state-with-callback icon indicating copy to clipboard operation
use-state-with-callback copied to clipboard

Async Callback provided within a callback doesn't get executed : fixe…

Open raj-vc opened this issue 3 years ago • 0 comments

  • Added Type condition while executing the callback function in the useEffect.
  • Removed null assignment to the callbackRef.current as it gets undefined when no function is found in the parameter of setValueWithCallback

raj-vc avatar Dec 23 '21 09:12 raj-vc